1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

smbd: Avoid an "else"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-03-13 15:58:03 +01:00 committed by Jeremy Allison
parent 393176e967
commit bd692c1f90

View File

@ -507,7 +507,8 @@ static char *dptr_ReadDirName(TALLOC_CTX *ctx,
if (NT_STATUS_IS_OK(status)) {
name = found_name;
goto clean;
} else if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
}
if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
/* The case-insensitive lookup was authoritative. */
goto clean;
}