[FFmpeg-devel] [PATCH 3/3] Fix various uninitialized variable warnings

Michael Niedermayer michaelni at gmx.at
Mon May 30 00:20:19 CEST 2011


On Sun, May 29, 2011 at 09:07:36PM +0200, Clément Bœsch wrote:
> ---
>  ffplay.c                  |    2 +-
>  libavformat/iff.c         |    2 +-
>  libavformat/matroskadec.c |    3 ++-
>  3 files changed, 4 insertions(+), 3 deletions(-)

are all these warnings false positives?
if so there should be comments explaining that the =0 is just to
silence a warning and not strictly needed.
This makes code easier to understand.

thx btw for the warning fixing work

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110530/cf0b0bcc/attachment.asc>


More information about the ffmpeg-devel mailing list