[PATCH] ctdb: Fix the O3 developer build

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 14 10:21:07 UTC 2016


Hi!

Review appreciated!

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From a16ea67951018e97b2552575eff4da2a9c064025 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Thu, 14 Jan 2016 11:20:21 +0100
Subject: [PATCH] ctdb: Fix the O3 developer build

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 ctdb/server/ipalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ctdb/server/ipalloc.c b/ctdb/server/ipalloc.c
index 9b5579c..ae9e8de 100644
--- a/ctdb/server/ipalloc.c
+++ b/ctdb/server/ipalloc.c
@@ -31,7 +31,7 @@
 /* The calculation part of the IP allocation algorithm. */
 bool ipalloc(struct ipalloc_state *ipalloc_state)
 {
-	bool ret;
+	bool ret = false;
 
 	switch (ipalloc_state->algorithm) {
 	case IPALLOC_LCP2:
-- 
2.1.4



More information about the samba-technical mailing list