smbd: Fix a ISO C90 forbids mixed declarations and code warning
authorVolker Lendecke <vl@samba.org>
Fri, 17 May 2013 13:14:58 +0000 (15:14 +0200)
committerMatthieu Patou <mat@samba.org>
Fri, 17 May 2013 23:40:03 +0000 (01:40 +0200)
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

source3/modules/nfs4_acls.c

index ceae6d92bc43ea018d03a2d6c26d8a7ef38102c8..13e9268f8068cd2bb1b1405e86420d4570eaaa64 100644 (file)
@@ -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);