1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

main: make gcc shut up

This commit is contained in:
Lennart Poettering 2014-02-17 16:18:17 +01:00
parent b6e2f3293d
commit 15bd5aee09

View File

@ -1911,9 +1911,9 @@ finish:
"--log-target",
};
unsigned pos = 5;
assert(command_line[pos] == NULL);
_cleanup_strv_free_ char **env_block = NULL;
assert(command_line[pos] == NULL);
env_block = strv_copy(environ);
snprintf(log_level, sizeof(log_level), "%d", log_get_max_level());