libcli/cldap: clang: Fix 'Dereference of null pointer'
authorNoel Power <noel.power@suse.com>
Thu, 11 Jul 2019 11:28:58 +0000 (11:28 +0000)
committerGary Lockyer <gary@samba.org>
Tue, 16 Jul 2019 22:52:24 +0000 (22:52 +0000)
commita901c5768accd49b40b17b3350613ca7819a2854
tree5dc24fb4e407e43c399af0ecce1c90231ab98573
parent9cfdb9f190688682dd62d7c148f1d801921a3b92
libcli/cldap: clang: Fix 'Dereference of null pointer'

Fixes:

libcli/cldap/cldap.c:144:8: warning: Dereference of null pointer <--[clang]
                ev = c->searches.list->caller.ev;
                     ^
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
libcli/cldap/cldap.c