From 6d2b1ef71d5e0b61559c99d58857ce533a036044 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 4 Sep 2010 09:16:23 +1000 Subject: libcli/security Remove 'always true' return from se_priv_put_all_privileges Andrew Bartlett Signed-off-by: Andrew Tridgell --- libcli/security/privileges.c | 3 +-- libcli/security/privileges.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'libcli/security') diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index 4c288a7f3a..938f34b858 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -187,7 +187,7 @@ uint64_t sec_privilege_mask(enum sec_privilege privilege) put all valid privileges into a mask ****************************************************************************/ -bool se_priv_put_all_privileges(uint64_t *privilege_mask) +void se_priv_put_all_privileges(uint64_t *privilege_mask) { int i; uint32_t num_privs = ARRAY_SIZE(privs); @@ -196,7 +196,6 @@ bool se_priv_put_all_privileges(uint64_t *privilege_mask) for ( i=0; i