Revert and re-apply badnull patch

Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
This commit is contained in:
Lucas De Marchi 2010-08-26 01:34:13 +00:00
parent f641b21f57
commit 121f40d86f
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ _cftype_free(CFType *cft)
{
CFModule *cfm;
assert(!cft->modules_hash); // must do it before calling this function
assert(cft->modules_hash == NULL); // must do it before calling this function
EINA_LIST_FREE(cft->modules, cfm)
_module_free(cfm);

View File

@ -728,7 +728,7 @@ _ilist_files_add(E_Config_Dialog_Data *cfdata,
if (it)
{
EINA_ITERATOR_FOREACH(it, file)
if (strstr(file,".edj") != NULL)
if (strstr(file, ".edj"))
{
themefiles = eina_list_append(themefiles, file);
}