[vlc-devel] [PATCH] Fixed warnings on missed struct fields initializers

Maxim Bublis b at codemonkey.ru
Mon Dec 2 15:15:16 CET 2013


> > Hmm? Whether the warning is a bug or a feature depends on the case, much
> > like the infamous "maybe uninitialized" warning. I think GCC zeroes the
> > missing members anyway.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750


It seems reasonable to me to ignore patch for src/misc/fourcc.c, but I
still think it should be applied for modules/codec/avcodec/encoder.c as
initializer could be omitted completely because of following av_init_packet
call (as it's done in other parts of avcodec code).

-- 
Maxim Bublis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131202/2be313c7/attachment.html>


More information about the vlc-devel mailing list