[FFmpeg-devel] [PATCH] Remove useless NULL check.

Michael Niedermayer michaelni at gmx.at
Tue Jul 26 22:32:08 CEST 2011


On Tue, Jul 26, 2011 at 10:29:52PM +0200, Reimar Döffinger wrote:
> We dereferenced the pointer two lines above, no point in
> checking for NULL afterwards.
> In addition it cannot be NULL the way it was initialized
> a few lines further above.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

ok

[...]
-- 
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/20110726/95bd41d9/attachment.asc>


More information about the ffmpeg-devel mailing list