core: fix warning

introduced in c7040b5d1c
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-02-07 00:01:19 +01:00
parent 627a98d398
commit 1006a62d20

View file

@ -615,7 +615,7 @@ int bus_exec_context_set_transient_property(
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment block.");
if (mode != UNIT_CHECK) {
_cleanup_free_ char *joined;
_cleanup_free_ char *joined = NULL;
char **e;
e = strv_env_merge(2, c->environment, l);