From 215d8448f0e51c4f5ffdcee6003dcbce4d1440a5 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 15 May 2018 19:23:04 +1000 Subject: [PATCH] ctdb-common: Fix CID 1435599 Signed-off-by: Amitay Isaacs Reviewed-by: Volker Lendecke --- ctdb/common/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/common/cmdline.c b/ctdb/common/cmdline.c index 2540ce546ae..ee360d4c920 100644 --- a/ctdb/common/cmdline.c +++ b/ctdb/common/cmdline.c @@ -337,7 +337,7 @@ static int cmdline_match(struct cmdline_context *cmdline) size_t len; char *t, *str; int n = 0; - bool match; + bool match = false; cmd = &cmdline->commands[i]; len = strlcpy(name, cmd->name, sizeof(name));