]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: shut up gcc.
authortomponline <tomp@tomp.uk>
Mon, 4 Mar 2019 08:27:59 +0000 (08:27 +0000)
committertomponline <tomp@tomp.uk>
Mon, 4 Mar 2019 08:27:59 +0000 (08:27 +0000)
Closes #2885.

Signed-off-by: tomponline <tomp@tomp.uk>
src/lxc/start.c

index 928702559b39e5ffcac4abb03e0281a6e64946aa..c62e56ff018284b8a282327b7b8f9bf20d41bcff 100644 (file)
@@ -97,7 +97,7 @@ static void lxc_destroy_container_on_signal(struct lxc_handler *handler,
 
 static void print_top_failing_dir(const char *path)
 {
-       __do_free char *copy;
+       __do_free char *copy = NULL;
        int ret;
        char *e, *p, saved;