forked from enlightenment/efl
5a8a8c9014
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 |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.am | ||
edje_cc.c | ||
edje_cc.h | ||
edje_cc_handlers.c | ||
edje_cc_mem.c | ||
edje_cc_out.c | ||
edje_cc_parse.c | ||
edje_cc_sources.c | ||
edje_convert.c | ||
edje_convert.h | ||
edje_convert_main.c | ||
edje_data_convert.c | ||
edje_decc.c | ||
edje_decc.h | ||
edje_player.c | ||
edje_prefix.c | ||
edje_prefix.h | ||
edje_recc |