lib,cpuset: fix compiler warning [-Wuninitialized]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-09-10 00:02:00 +02:00
parent 59fb133a02
commit 4e9b3bfda2
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ int cpulist_parse(const char *str, cpu_set_t *set, size_t setsize, int fail)
{
size_t max = cpuset_nbits(setsize);
const char *p, *q;
int r;
int r = 0;
q = str;
CPU_ZERO_S(setsize, set);