On Tue, Feb 09, 2016 at 09:08:49 +0100, Michal Privoznik wrote: > Older gcc fails to see that the variable is set iff @hasPriority > == true in which case the former is set a value. Initialize the > value while declaring it to make the compiler shut up. > Initializing it may confuse a next reader, since there is no default value that would make sense at this point. > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > > This maybe isn't the best approach, to workaround false > positives. I'm open to discussion. I'd suggest using non-broken compilers on non-ancient platforms and leaving the code be. Peter
Attachment:
signature.asc
Description: Digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list