lib/tdb/common: Fix warning: Null pointer passed as argument to param
authorNoel Power <noel.power@suse.com>
Mon, 17 Jun 2019 15:54:32 +0000 (16:54 +0100)
committerNoel Power <npower@samba.org>
Mon, 1 Jul 2019 13:34:10 +0000 (13:34 +0000)
commit848290d37fdb381b43db12675e771b462eefe7ef
treee8cc2e05dde207f490bb559e7d2bd8415701bd56
parentdcaaf9ff7a281910ba12e7e9f701641f6eb97262
lib/tdb/common: Fix warning: Null pointer passed as argument to param

Fixes:

lib/tdb/common/rescue.c:299:2: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
        qsort(found.arr, found.num, sizeof(found.arr[0]), cmp_key);
        ^     ~~~~~~~~~

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