enlightenment/src/modules/temperature
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
..
.cvsignore add ignores. 2008-03-05 04:04:54 +00:00
Makefile.am match eeze changes, add init/shutdown calls to illume2 keyboard 2010-05-22 07:04:26 +00:00
e-module-temperature.edj * edje: fix count that lead to memleak. 2010-08-12 15:07:26 +00:00
e_mod_config.c Add UNUSED where needed. 2010-08-19 15:27:13 +00:00
e_mod_main.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e_mod_main.h FORMATTING 2010-08-04 16:57:32 +00:00
e_mod_main_private.h FORMATTING 2010-08-04 16:57:32 +00:00
e_mod_tempget.c * e: remove warning due to Ecore API change. 2010-06-24 16:19:12 +00:00
e_mod_udev.c Add UNUSED where needed. 2010-08-19 15:27:13 +00:00
module.desktop.in remove the now useless title 2010-03-08 16:09:21 +00:00
tempget.c Add UNUSED where needed. 2010-08-19 15:27:13 +00:00