git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472dca2
)
ctdb-common: Fix CID 1435599
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 15 May 2018 09:23:04 +0000
(19:23 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Wed, 16 May 2018 05:03:53 +0000
(07:03 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/common/cmdline.c
patch
|
blob
|
history
diff --git
a/ctdb/common/cmdline.c
b/ctdb/common/cmdline.c
index 2540ce546ae373a042069da09346b636520d9771..ee360d4c9208231635028b21fbb3f8043706483b 100644
(file)
--- 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));