From: Amitay Isaacs Date: Tue, 15 May 2018 09:23:04 +0000 (+1000) Subject: ctdb-common: Fix CID 1435599 X-Git-Tag: ldb-1.4.0~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=215d8448f0e51c4f5ffdcee6003dcbce4d1440a5;p=thirdparty%2Fsamba.git ctdb-common: Fix CID 1435599 Signed-off-by: Amitay Isaacs Reviewed-by: Volker Lendecke --- 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));