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 | ||
Ecore_Config.h | ||
Makefile.am | ||
ecore_config.c | ||
ecore_config_db.c | ||
ecore_config_extra.c | ||
ecore_config_ipc.h | ||
ecore_config_ipc_ecore.c | ||
ecore_config_ipc_main.c | ||
ecore_config_private.h | ||
ecore_config_storage.c | ||
ecore_config_util.c | ||
ecore_config_util.h |