enlightenment-module-forecasts/src
Lucas De Marchi 9f87eef80c 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 EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules. 2009-08-03 14:49:56 +00:00
e_mod_config.c yahoo has changed the url style, but you can get the correct id from weather.com 2010-01-06 12:53:30 +00:00
e_mod_config.h EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules. 2009-08-03 14:49:56 +00:00
e_mod_main.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e_mod_main.h EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules. 2009-08-03 14:49:56 +00:00