summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-05-17 15:14:58 +0200
committerMatthieu Patou <mat@samba.org>2013-05-18 01:40:03 +0200
commit1c9ef675d1a44fb9b0d599f96391abf1e21981c1 (patch)
tree956df205380f0477c09f709f947d6f32b7bb5528 /source3/modules
parent2fda6c47f4aa46dbb42028732207a94821881c67 (diff)
downloadsamba-1c9ef675d1a44fb9b0d599f96391abf1e21981c1.tar.gz
samba-1c9ef675d1a44fb9b0d599f96391abf1e21981c1.tar.bz2
samba-1c9ef675d1a44fb9b0d599f96391abf1e21981c1.zip
smbd: Fix a ISO C90 forbids mixed declarations and code warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Matthieu Patou <mat@matws.net> Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Sat May 18 01:40:04 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index ceae6d92bc..13e9268f80 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);