From a064e2f25899b446e4d31bed8e0c7b553713f7ae Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Wed, 20 Sep 2023 14:42:26 +1200 Subject: [PATCH] libcli/security: Remove unused flag SDDL_FLAG_IS_FAKE_OP Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- libcli/security/sddl_conditional_ace.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libcli/security/sddl_conditional_ace.c b/libcli/security/sddl_conditional_ace.c index 05ff741e942..01362f9082b 100644 --- a/libcli/security/sddl_conditional_ace.c +++ b/libcli/security/sddl_conditional_ace.c @@ -42,7 +42,6 @@ #define SDDL_FLAG_IS_UNARY_OP (1 << 20) #define SDDL_FLAG_IS_BINARY_OP (1 << 21) -#define SDDL_FLAG_IS_FAKE_OP (1 << 22) /* @@ -85,8 +84,7 @@ #define SDDL_FLAGS_LITERAL SDDL_FLAG_EXPECTING_BINARY_LOGIC_OP #define SDDL_FLAGS_PAREN_END (SDDL_FLAG_EXPECTING_BINARY_LOGIC_OP | \ - SDDL_FLAG_EXPECTING_BINARY_OP | \ - SDDL_FLAG_IS_FAKE_OP) + SDDL_FLAG_EXPECTING_BINARY_OP) enum { SDDL_NOT_AN_OP = 0, @@ -271,7 +269,7 @@ static struct sddl_data sddl_strings[256] = { /* pseudo-operator pseudo-tokens */ [CONDITIONAL_ACE_SAMBA_SDDL_PAREN] = { "(", - SDDL_FLAG_IS_FAKE_OP, + 0, SDDL_PRECEDENCE_PAREN_START, 0 },