mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above
This commit is contained in:
parent
dc19a60e50
commit
d75fe9b393
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user