summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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;