[gst-devel] [gst-cvs] binary registry: comparing arrays against NULL is useless
Stefan Kost
ensonic at hora-obscura.de
Fri Feb 6 09:56:24 CET 2009
Tim-Philipp Müller schrieb:
> On Thu, 2009-02-05 at 07:51 -0800, Stefan Kost wrote:
>
>
>> commit c69a2628892dbbbec345847358921471f7479af5
>> Author: Stefan Kost <ensonic at users.sf.net>
>> Date: Thu Feb 5 15:56:19 2009 +0200
>>
>> binary registry: comparing arrays against NULL is useless
>>
>>
>
> So is &m->foo != NULL ...
>
> Cheers
> -Tim
>
>
>
Crap, you are right. Fixed in
b87960ae5d7ae1e45aed3712c0f507a4d7af73fd
. Just using
if (m == NULL)
is enough
Stefan
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list