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 | ||
ecore_x.c | ||
ecore_x_atoms.c | ||
ecore_x_composite.c | ||
ecore_x_cursor.c | ||
ecore_x_damage.c | ||
ecore_x_dnd.c | ||
ecore_x_dpms.c | ||
ecore_x_drawable.c | ||
ecore_x_e.c | ||
ecore_x_error.c | ||
ecore_x_events.c | ||
ecore_x_fixes.c | ||
ecore_x_gc.c | ||
ecore_x_icccm.c | ||
ecore_x_image.c | ||
ecore_x_mwm.c | ||
ecore_x_netwm.c | ||
ecore_x_pixmap.c | ||
ecore_x_private.h | ||
ecore_x_randr.c | ||
ecore_x_randr.h | ||
ecore_x_randr_11.c | ||
ecore_x_randr_12.c | ||
ecore_x_randr_13.c | ||
ecore_x_region.c | ||
ecore_x_screensaver.c | ||
ecore_x_selection.c | ||
ecore_x_sync.c | ||
ecore_x_test.c | ||
ecore_x_window.c | ||
ecore_x_window_prop.c | ||
ecore_x_window_shape.c | ||
ecore_x_xi2.c | ||
ecore_x_xinerama.c |