From d6fafdb23714551e844c2ce6006683f9f51e4ff1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 15 Jan 2007 10:39:17 +0000 Subject: [PATCH] r20800: fix compiler warnings metze (This used to be commit 6ce994720cdd8b7dd0b789460b5ae7da19261696) --- source4/libcli/security/sddl.c | 2 ++ source4/librpc/ndr/ndr_sec_helper.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c index 2746ed8f81a..7d0e6ee7488 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 0a2f3b37f53..a8272b2b600 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; -- 2.34.1