[PATCH] lib: Fix the O3 developer build on RHEL 7.1

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 14 14:39:23 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 bd1c12ad155ad6584ebf2ce4f970299bc2a8c691 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 14 Mar 2016 15:37:54 +0100
Subject: [PATCH] lib: Fix the O3 developer build on RHEL 7.1

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

diff --git a/lib/uid_wrapper/uid_wrapper.c b/lib/uid_wrapper/uid_wrapper.c
index ab47dd0..5e33d2d 100644
--- a/lib/uid_wrapper/uid_wrapper.c
+++ b/lib/uid_wrapper/uid_wrapper.c
@@ -156,7 +156,7 @@ static void uwrap_log(enum uwrap_dbglvl_e dbglvl, const char *function, const ch
 	va_end(va);
 
 	if (lvl >= dbglvl) {
-		const char *prefix;
+		const char *prefix = "";
 		switch (dbglvl) {
 			case UWRAP_LOG_ERROR:
 				prefix = "UWRAP_ERROR";
-- 
1.8.3.1



More information about the samba-technical mailing list