eina: Eina_Prefix should never contain a NULL, no code expect it.

This commit is contained in:
Cedric Bail 2017-10-04 20:57:08 -07:00
parent 4ccc5d4f68
commit 43b524eea2
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}