mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: Remove a "can't happen" NULL check
This should really not happen, crashing would be the right response. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0c709cb6b7
commit
fdca0558ef
@ -710,10 +710,6 @@ static NTSTATUS smbXsrv_open_global_store(struct smbXsrv_open_global0 *global)
|
||||
* store the information in the old format.
|
||||
*/
|
||||
|
||||
if (global->db_rec == NULL) {
|
||||
return NT_STATUS_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
key = dbwrap_record_get_key(global->db_rec);
|
||||
val = dbwrap_record_get_value(global->db_rec);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user