forked from enlightenment/enlightenment
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:
parent
f641b21f57
commit
121f40d86f
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue