forked from enlightenment/enlightenment
Since we are not using the returned pointer from eina_hash_find here, we can
remove the variable as eina_hash_find will return NULL is nothing is found. SVN revision: 41444
This commit is contained in:
parent
230b89e8da
commit
e31f28d677
|
@ -79,11 +79,8 @@ e_filereg_deregister(const char *path)
|
|||
EAPI Eina_Bool
|
||||
e_filereg_file_protected(const char *path)
|
||||
{
|
||||
Filereg_Item *fi = NULL;
|
||||
|
||||
fi = eina_hash_find(_e_filereg, path);
|
||||
if (!fi) return EINA_FALSE;
|
||||
return EINA_TRUE;
|
||||
if (eina_hash_find(_e_filereg, path)) return EINA_TRUE;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
/* Private Functions */
|
||||
|
|
Loading…
Reference in New Issue