enlightenment/src/modules/fileman
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 file manager as a module. 2007-08-12 09:54:33 +00:00
Makefile.am debug -- 2009-03-08 14:13:40 +00:00
e-module-fileman.edj * edje: fix count that lead to memleak. 2010-08-12 15:07:26 +00:00
e_fwin.c Add UNUSED where needed. 2010-08-19 16:29:01 +00:00
e_fwin.h FORMATTING 2010-08-04 16:57:32 +00:00
e_mod_config.c Add UNUSED where needed. 2010-08-19 16:29:01 +00:00
e_mod_config.h export less 2010-01-22 20:28:39 +00:00
e_mod_dbus.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e_mod_dbus.h Export file manager using DBus. 2008-11-30 06:39:54 +00:00
e_mod_main.c Add UNUSED where needed. 2010-08-19 16:29:01 +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