forked from enlightenment/efl
2a84379ba9
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 |
||
---|---|---|
.. | ||
debian | ||
doc | ||
m4 | ||
src | ||
.cvsignore | ||
AUTHORS | ||
COPYING | ||
ChangeLog | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
NOTES | ||
README | ||
TODO | ||
autogen.sh | ||
configure.ac | ||
efreet-mime.pc.in | ||
efreet-trash.pc.in | ||
efreet.pc.in | ||
efreet.spec.in |
README
Efreet ------ Requirements: ------------- Must: libc ecore ecore-file An implementation of several specifications from freedesktop.org intended for use in Enlightenment DR17 (e17) and other applications using the Enlightenment Foundation Libraries (EFL). Currently, the following specifications are included: o Base Directory o Desktop Entry o Icon Theme o Menu Efreet depends only on Ecore.