s4/libcli/raw: clang: Fix 'Dereference of null pointer'
authorNoel Power <noel.power@suse.com>
Fri, 26 Jul 2019 16:18:49 +0000 (16:18 +0000)
committerNoel Power <npower@samba.org>
Wed, 25 Sep 2019 09:47:31 +0000 (09:47 +0000)
commita1a448b19b9565a00e3077690dbda44ed727b2e4
treeed67429c7c082355dae49e44db2a2a2bb5293bcf
parent55c6e4bcc1b084fc391c21b387694a099a015c83
s4/libcli/raw: clang: Fix 'Dereference of null pointer'

Fixes:

source4/libcli/raw/rawfileinfo.c:597:2: warning: Dereference of null pointer <--[clang]
        SMBCLI_CHECK_WCT(req, 10);
        ^
source4/libcli/raw/rawfileinfo.c:639:2: warning: Dereference of null pointer <--[clang]
        SMBCLI_CHECK_WCT(req, 11);
        ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/libcli/raw/rawfileinfo.c