From: Volker Lendecke Date: Fri, 12 Aug 2016 11:18:19 +0000 (+0200) Subject: ctdb: Fix the O3 developer build on RHEL7 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=1c10c85939d8dfa5009736e8c8633a3b58712436;p=metze%2Fsamba%2Fwip.git ctdb: Fix the O3 developer build on RHEL7 Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Aug 13 00:55:02 CEST 2016 on sn-devel-144 --- diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index e52121d5fa1b..2cb699aadf2c 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -4761,6 +4761,8 @@ static int control_scriptstatus(TALLOC_CTX *mem_ctx, struct ctdb_context *ctdb, } valid = false; + end = 0; + for (i=0; i