diff options
-rw-r--r-- | libcli/security/privileges.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index f5fa836472..4c288a7f3a 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -346,9 +346,6 @@ const char *sec_privilege_name(enum sec_privilege privilege) const char *sec_privilege_display_name(enum sec_privilege privilege, uint16_t *language) { int i; - if (privilege < 1 || privilege > 64) { - return NULL; - } for (i=0;i<ARRAY_SIZE(privs);i++) { if (privs[i].luid == privilege) { return privs[i].description; |