1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli/security: Remove unused flag SDDL_FLAG_IS_FAKE_OP

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-09-20 14:42:26 +12:00 committed by Andrew Bartlett
parent 8d4f60c844
commit a064e2f258

View File

@ -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
},