enlightenment/src/modules/msgbus
Lucas De Marchi 63f07459a0 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
..
Makefile.am cleanups, logs and simplify dbus message argument handling. 2010-03-12 22:00:14 +00:00
e-module-msgbus.edj * edje: fix count that lead to memleak. 2010-08-12 15:07:26 +00:00
e_mod_main.c FORMATTING 2010-08-04 16:57:32 +00:00
e_mod_main.h FORMATTING 2010-08-04 16:57:32 +00:00
module.desktop.in remove the now useless title 2010-03-08 16:09:21 +00:00
msgbus_desktop.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
msgbus_lang.c FORMATTING 2010-08-04 16:57:32 +00:00