From 1c10c85939d8dfa5009736e8c8633a3b58712436 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 12 Aug 2016 13:18:19 +0200 Subject: [PATCH] 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 --- ctdb/tools/ctdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index e52121d5fa1..2cb699aadf2 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