diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-12 23:16:18 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-12 23:17:19 +0100 |
commit | d75fe9b3934d9c8e0c2bbeb8d0a27deb0b2eb58a (patch) | |
tree | 8142efb85b4f46053019090655a263daae46d8dc /source4/lib/ldb/modules | |
parent | dc19a60e50b89886f98541ad227e6f3a3bc8720b (diff) | |
download | samba-d75fe9b3934d9c8e0c2bbeb8d0a27deb0b2eb58a.tar.gz samba-d75fe9b3934d9c8e0c2bbeb8d0a27deb0b2eb58a.tar.bz2 samba-d75fe9b3934d9c8e0c2bbeb8d0a27deb0b2eb58a.zip |
Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r-- | source4/lib/ldb/modules/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/sort.c b/source4/lib/ldb/modules/sort.c index 2b2a1ab1e3..309101c32b 100644 --- a/source4/lib/ldb/modules/sort.c +++ b/source4/lib/ldb/modules/sort.c @@ -108,7 +108,7 @@ static int sort_compare(struct ldb_message **msg1, struct ldb_message **msg2, vo ldb = ldb_module_get_ctx(ac->module); - if (!ac || ac->sort_result != 0) { + if (ac->sort_result != 0) { /* an error occurred previously, * let's exit the sorting by returning always 0 */ return 0; |