[PATCH] smbd: Fix a ISO C90 forbids mixed declarations and code
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri May 17 07:16:06 MDT 2013
Please review&push!
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 1a6db5717c40349def7386c64d775961c3107c19 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 17 May 2013 15:14:58 +0200
Subject: [PATCH] smbd: Fix a ISO C90 forbids mixed declarations and code
warning
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/modules/nfs4_acls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index ceae6d9..13e9268 100644
--- a/source3/modules/nfs4_acls.c
+++ b/source3/modules/nfs4_acls.c
@@ -417,8 +417,8 @@ static bool smbacl4_nfs42win(TALLOC_CTX *mem_ctx,
ace->who.special_id == SMB_ACE4_WHO_GROUP)) {
DEBUG(10, ("Map special entry\n"));
if (!(win_ace_flags & SEC_ACE_FLAG_INHERIT_ONLY)) {
- DEBUG(10, ("Map current sid\n"));
uint32_t win_ace_flags_current;
+ DEBUG(10, ("Map current sid\n"));
win_ace_flags_current = win_ace_flags &
~(SEC_ACE_FLAG_OBJECT_INHERIT |
SEC_ACE_FLAG_CONTAINER_INHERIT);
--
1.7.9.5
More information about the samba-technical
mailing list