forked from enlightenment/efl
parent
f1b46bd67e
commit
be24979e13
|
@ -46,14 +46,13 @@ Ecore_Hash *
|
|||
ecore_desktop_ini_get(const char *file)
|
||||
{
|
||||
Ecore_Hash *result;
|
||||
|
||||
result = ecore_hash_new(ecore_str_hash, ecore_str_compare);
|
||||
if (result)
|
||||
{
|
||||
FILE *f;
|
||||
char buffer[PATH_MAX];
|
||||
Ecore_Hash *current = NULL;
|
||||
|
||||
result = ecore_hash_new(ecore_str_hash, ecore_str_compare);
|
||||
if (!result) NULL;
|
||||
|
||||
f = fopen(file, "r");
|
||||
if (!f)
|
||||
{
|
||||
|
@ -141,7 +140,6 @@ ecore_desktop_ini_get(const char *file)
|
|||
buffer[0] = (char)0;
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue