efl/legacy/emotion
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
..
data Initial support for Emotion as Edje EXTERNAL. 2010-04-01 03:59:39 +00:00
debian Fixed debian stuff everywhere. 2009-05-04 17:36:48 +00:00
doc ok. i think most binary files are now fixed. 2008-08-18 00:02:26 +00:00
m4 bug-- 2010-04-21 20:50:03 +00:00
src Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
.cvsignore .cvsignore++ 2006-07-17 00:32:21 +00:00
AUTHORS emotion can use gstreamer, now 2005-10-02 07:34:36 +00:00
COPYING fix the copying license to 2009-01-13 13:00:45 +00:00
COPYING-PLAIN it had to happen sooner or later... in in in... we go! :) 2004-06-18 15:38:03 +00:00
ChangeLog Update ChangeLog 2007-10-31 20:16:37 +00:00
Doxyfile Update doxy style 2007-12-06 23:18:55 +00:00
INSTALL it had to happen sooner or later... in in in... we go! :) 2004-06-18 15:38:03 +00:00
Makefile.am Removed debian things like rasterman did in some others from Makefile.am and configure.ac/in(and modifed AUTHORS, autogen.sh and README in E-MODULES-EXTRA) in 2008-12-31 10:52:08 +00:00
NEWS it had to happen sooner or later... in in in... we go! :) 2004-06-18 15:38:03 +00:00
README it had to happen sooner or later... in in in... we go! :) 2004-06-18 15:38:03 +00:00
TODO stuff to do for the gstreamer module 2007-07-08 19:16:08 +00:00
autogen.sh add error checking to all autogen scripts 2005-08-03 01:00:21 +00:00
configure.ac * edje: fix edje external module path. 2010-08-17 13:29:23 +00:00
emotion.c.in emotion can use gstreamer, now 2005-10-02 07:34:36 +00:00
emotion.pc.in Move Emotion.h to own dir. 2010-07-09 06:38:12 +00:00
emotion.spec.in Wed Jul 23 00:10:13 2008 Michael Jennings (mej) 2008-07-23 07:11:56 +00:00
gendoc Update doxy style 2007-12-06 23:18:55 +00:00

README

Emotion 0.0.1