parse: fix wrong "might be used unitialized" warning on some compilers
authorJens Axboe <axboe@kernel.dk>
Thu, 29 Nov 2012 20:33:03 +0000 (21:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Nov 2012 20:33:03 +0000 (21:33 +0100)
commitbfe1d59237aeb5a9c3540b0beb69c686af41dfa9
treef1bea030e3a43df0fab1dbf1ccaed6a52461d5eb
parent09164e5a3b3820a9ab7aaf2abc3be2579ae06a1c
parse: fix wrong "might be used unitialized" warning on some compilers

GCC 3.4.3 on Solaris, I'm looking at you. Apparently:

if (a || b) {
if (a)
c = foo;
else if (b)
c = bar;

*c = foobar;
}

is too hard to figure out.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c