forked from enlightenment/efl
eina: Eina_Prefix should never contain a NULL, no code expect it.
This commit is contained in:
parent
4ccc5d4f68
commit
43b524eea2
|
@ -399,6 +399,7 @@ _get_env_var(char **var, const char *envprefix, const char *envsuffix, const cha
|
|||
else
|
||||
{
|
||||
DBG("No env %s_PREFIX or %s for dir '%s'", envprefix, env, dir);
|
||||
STRDUP_REP(*var, "");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue