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_Win32.h | ||
Makefile.am | ||
ecore_win32.c | ||
ecore_win32_cursor.c | ||
ecore_win32_dnd.c | ||
ecore_win32_dnd_data_object.cpp | ||
ecore_win32_dnd_data_object.h | ||
ecore_win32_dnd_drop_source.cpp | ||
ecore_win32_dnd_drop_source.h | ||
ecore_win32_dnd_drop_target.cpp | ||
ecore_win32_dnd_drop_target.h | ||
ecore_win32_dnd_enumformatetc.cpp | ||
ecore_win32_dnd_enumformatetc.h | ||
ecore_win32_event.c | ||
ecore_win32_private.h | ||
ecore_win32_window.c |