From dcd9a847d6982553e6f65c464de48f6954ba2c10 Mon Sep 17 00:00:00 2001 From: tomponline Date: Mon, 4 Mar 2019 08:27:59 +0000 Subject: [PATCH] start: shut up gcc. Closes #2885. Signed-off-by: tomponline --- src/lxc/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/start.c b/src/lxc/start.c index 928702559..c62e56ff0 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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; -- 2.39.5