]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix CID 1664060: Incorrect expression (IDENTICAL_BRANCHES)
authorVolker Lendecke <vl@samba.org>
Mon, 18 Aug 2025 08:46:21 +0000 (10:46 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 18 Aug 2025 13:04:27 +0000 (13:04 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug 18 13:04:27 UTC 2025 on atb-devel-224

source3/smbd/smbXsrv_open.c

index 56e94c6f4d61d97f3547c0c52d0b5553c595bb19..17424300f1244e649f7f71d2e23bb2e9e217e9ce 100644 (file)
@@ -307,10 +307,6 @@ static void smbXsrv_open_global_lookup_fn(struct db_record *rec,
                                                         key,
                                                         val,
                                                         &state->global);
-       if (!NT_STATUS_IS_OK(state->status)) {
-               return;
-       }
-       return;
 }
 
 static NTSTATUS smbXsrv_open_global_lookup(