forked from enlightenment/efl
eina: don't rely on the order of the declaration of the variables
SVN revision: 75517
This commit is contained in:
parent
89eaea1c65
commit
106997e132
|
@ -501,10 +501,14 @@ slprintf(char *str, size_t size, const char *format, ...)
|
||||||
static char *
|
static char *
|
||||||
_eina_file_escape(const char *path, int *length)
|
_eina_file_escape(const char *path, int *length)
|
||||||
{
|
{
|
||||||
char *result = strdup(path ? path : "");
|
char *result;
|
||||||
char *p = result;
|
char *p;
|
||||||
char *q = result;
|
char *q;
|
||||||
int len;
|
size_t len;
|
||||||
|
|
||||||
|
result = strdup(path ? path : "");
|
||||||
|
p = result;
|
||||||
|
q = result;
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue