efl/legacy/edje/src/bin
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
..
.cvsignore Quiet. 2005-07-29 16:41:05 +00:00
Makefile.am * edje: remove edje_convert use in edje_cc. 2010-08-15 18:14:33 +00:00
edje_cc.c * edje: remove edje_convert use in edje_cc. 2010-08-15 18:14:33 +00:00
edje_cc.h * edje: remove edje_convert use in edje_cc. 2010-08-15 18:14:33 +00:00
edje_cc_handlers.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
edje_cc_mem.c FORMATTING 2010-08-04 16:57:32 +00:00
edje_cc_out.c * edje: remove edje_convert use in edje_cc. 2010-08-15 18:14:33 +00:00
edje_cc_parse.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
edje_cc_sources.c * edje: finally fix all this eet mess. 2010-08-13 16:35:45 +00:00
edje_convert.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
edje_convert.h * edje: move code around. 2010-08-11 18:29:41 +00:00
edje_convert_main.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
edje_data_convert.c * edje: finally fix all this eet mess. 2010-08-13 16:35:45 +00:00
edje_decc.c Use right key to find stuff in the eet file. By Fidencio 2010-08-13 20:07:12 +00:00
edje_decc.h * edje: Use Eina_Log. 2009-12-22 13:46:00 +00:00
edje_player.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
edje_prefix.c FORMATTING 2010-08-04 16:57:32 +00:00
edje_prefix.h FORMATTING 2010-08-04 16:57:32 +00:00
edje_recc remove trailing spaces 2008-03-24 08:22:01 +00:00