From 814928c87a156713f5de7f25b4b79ebf1c9f4adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Wed, 11 Dec 2013 15:51:14 -0500 Subject: [PATCH] Fix uninitialized value in lxc_try_cmd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/lxc/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/commands.c b/src/lxc/commands.c index ae4ff1ec4..3788afd2a 100644 --- a/src/lxc/commands.c +++ b/src/lxc/commands.c @@ -293,7 +293,7 @@ out: int lxc_try_cmd(const char *name, const char *lxcpath) { - int stopped, ret; + int stopped = 0, ret; struct lxc_cmd_rr cmd = { .req = { .cmd = LXC_CMD_GET_INIT_PID }, };