fix bugs spotted by clang static analyser.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Dec 2008 18:14:16 +0000 (18:14 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Dec 2008 18:14:16 +0000 (18:14 +0000)
commit11a8fd8890dfd253c01b696be750cf6b7ae48fd4
treecea3477f786c1be980c7f461d6baa0cb30ac12c8
parent5ef9c3cc92093ca11f0717075a657e67dce4a167
fix bugs spotted by clang static analyser.

We had some problems with preload and after running LLVM's CLang
Static Analyser we found out that current->target could be NULL after
loop.

Also fixed some GCC and CLang warnings, kudos to these wonderful tools
that "Saved The Day".

PS: we should put some CLang Static Analyser results so others can
help fix other parts of E.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/cache/evas_cache_image.c