summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 10:39:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:31 -0500
commitd6fafdb23714551e844c2ce6006683f9f51e4ff1 (patch)
treec7b767e8f60d01282279a2e9bb6093711272612a
parente754ec1d8a52ac717d0d511b28c8556d43eb2f86 (diff)
downloadsamba-d6fafdb23714551e844c2ce6006683f9f51e4ff1.tar.gz
samba-d6fafdb23714551e844c2ce6006683f9f51e4ff1.tar.xz
samba-d6fafdb23714551e844c2ce6006683f9f51e4ff1.zip
r20800: fix compiler warnings
metze (This used to be commit 6ce994720cdd8b7dd0b789460b5ae7da19261696)
-rw-r--r--source4/libcli/security/sddl.c2
-rw-r--r--source4/librpc/ndr/ndr_sec_helper.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c
index 2746ed8f81..7d0e6ee748 100644
--- a/source4/libcli/security/sddl.c
+++ b/source4/libcli/security/sddl.c
@@ -319,6 +319,8 @@ static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
case SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT:
acl->revision = SECURITY_ACL_REVISION_ADS;
break;
+ default:
+ break;
}
talloc_free(astr);
sddl += len+2;
diff --git a/source4/librpc/ndr/ndr_sec_helper.c b/source4/librpc/ndr/ndr_sec_helper.c
index 0a2f3b37f5..a8272b2b60 100644
--- a/source4/librpc/ndr/ndr_sec_helper.c
+++ b/source4/librpc/ndr/ndr_sec_helper.c
@@ -73,6 +73,8 @@ size_t ndr_size_security_ace(const struct security_ace *ace, int flags)
ret += 16; /* GUID ace->object.object.inherited_typeinherited_type */
}
break;
+ default:
+ break;
}
return ret;