efl/legacy
Lucas De Marchi 2a84379ba9 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
..
ecore Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
edje Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
eet Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
eeze sigh 2010-07-09 16:44:33 +00:00
efreet Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
eina include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX 2010-07-13 19:17:35 +00:00
embryo Move Embryo.h header to own dir. 2010-07-09 06:31:53 +00:00
emotion make emotion do the same snap/rev thing. while i'm poking around. 2010-07-11 23:42:38 +00:00
ethumb ethumb: cleanup headers 2010-07-09 15:24:17 +00:00
evas Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
evil * doc/Doxyfile: 2010-05-29 10:51:06 +00:00