chiark / gitweb /
main: make gcc shut up
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2014 15:18:17 +0000 (16:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2014 15:18:17 +0000 (16:18 +0100)
src/core/main.c

index 3c1e04c..7566b0a 100644 (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());