1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

libcli: Avoid an unnecessary "else"

We return in the error case anyway

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Volker Lendecke 2024-11-28 09:47:20 +01:00 committed by Martin Schwenke
parent 8327539651
commit 24ef76e960

View File

@ -2053,9 +2053,8 @@ static bool parse_sid(struct ace_condition_sddl_compiler_context *comp)
comp->sddl[comp->offset + 3] != '(') {
comp_error(comp, "malformed SID() constructor");
return false;
} else {
comp->offset += 4;
}
comp->offset += 4;
sidstr = comp->sddl + comp->offset;