[FFmpeg-devel] [PATCH] silence "may be used uninitialized" warnings

Michael Niedermayer michaelni
Fri Sep 21 01:04:44 CEST 2007


On Thu, Sep 20, 2007 at 11:00:02PM +0200, Aurelien Jacobs wrote:
> Hi,
> This patch does $subj for 2 warnings.
> If this is acceptable, this could then be applied to all other such
> warnings (after carefully verifying that those warnings are really
> false positives).
> So is it acceptable ?

iam weakly against it, it makes the code harder to read, if you want to
know about uninitalized vars use valgrind it will tell you which really are
while gcc will miss most and most of what it reports will not be

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070921/ea072787/attachment.pgp>

More information about the ffmpeg-devel mailing list