s3:smbd: Remove unnessesary NULL check for req
authorAndreas Schneider <asn@samba.org>
Thu, 10 Jun 2021 07:14:22 +0000 (09:14 +0200)
committerNoel Power <npower@samba.org>
Thu, 10 Jun 2021 11:22:18 +0000 (11:22 +0000)
commiteef0f73620912a6a299a2558bd76e9454141c6cd
treef8e724dd63cd12fce3726d7918a439d48cfdcd6c
parent8204e5f93f8a8721973095a3475d14594401dc3e
s3:smbd: Remove unnessesary NULL check for req

We already dereference req earlier. So if it is NULL it already
segfaulted much earlier.

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Jun 10 11:22:19 UTC 2021 on sn-devel-184
source3/smbd/reply.c