mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r19112: fixed a checker warning.
In case you haven't noticed, lots of our packages now run the IBM checker in the build farm on 'snab' (This used to be commit b39a79f17c9d8729264436bb774e8bd2b88e12f9)
This commit is contained in:
parent
53bb89680c
commit
36246a191c
@ -324,7 +324,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
|
||||
}
|
||||
|
||||
ret = ldb_search(ldb, mods_dn, LDB_SCOPE_BASE, "", attrs, &res);
|
||||
if (res) talloc_steal(mods_dn, res);
|
||||
talloc_steal(mods_dn, res);
|
||||
if (ret == LDB_SUCCESS && (res->count == 0 || res->msgs[0]->num_elements == 0)) {
|
||||
ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db\n");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user