Re: [systemd-devel] [PATCH 1/3] journal: Do not count on the compiler initializing found_last to false

2014-09-19 Thread Dale R. Worley
> From: Philippe De Swert > > There is a very unlikely case where this can happen since gcc usually > does the sane thing. But let's make sure found_last is initialized anyway. You'd better -- the C standard does *not* require the compiler to intialize local ("auto") variables. Dale ___

Re: [systemd-devel] [PATCH 1/3] journal: Do not count on the compiler initializing found_last to false

2014-09-18 Thread David Herrmann
Hi On Tue, Sep 16, 2014 at 11:27 PM, wrote: > From: Philippe De Swert > > There is a very unlikely case where this can happen since gcc usually > does the sane thing. But let's make sure found_last is initialized anyway. Applied. Thanks David > > Fixes: CID#996386 > --- > src/journal/journa

[systemd-devel] [PATCH 1/3] journal: Do not count on the compiler initializing found_last to false

2014-09-16 Thread philippedeswert
From: Philippe De Swert There is a very unlikely case where this can happen since gcc usually does the sane thing. But let's make sure found_last is initialized anyway. Fixes: CID#996386 --- src/journal/journal-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jou