efl/legacy/ecore/src/lib/ecore_fb
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
..
.cvsignore ignore++ 2006-08-08 00:54:56 +00:00
Ecore_Fb.h tslib supprot back from tobias. 2008-01-24 02:23:14 +00:00
Makefile.am Move Ecore.h (and associated headers) to own dir. 2010-07-09 06:23:19 +00:00
ecore_fb.c FORMATTING 2010-08-04 16:57:32 +00:00
ecore_fb_kbd.c fix close before fd handler del's 2010-07-30 02:50:50 +00:00
ecore_fb_keytable.h Ecore_Fb changes: 2006-07-31 04:13:51 +00:00
ecore_fb_li.c FORMATTING 2010-08-04 16:57:32 +00:00
ecore_fb_private.h Ecore_Data gone 2010-01-15 21:47:27 +00:00
ecore_fb_ps2.c Finish fixing int => Eina_Bool 2010-07-06 00:08:52 +00:00
ecore_fb_ts.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
ecore_fb_vt.c FORMATTING 2010-08-04 16:57:32 +00:00