summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-06 06:38:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:35 -0500
commit36246a191c08a869dd3a8e509fe96f3c5c6bfc23 (patch)
tree8e29e88bdc62aa3eb8ccb29b80a451fac9afb53f /source4/lib
parent53bb89680c0055b8d1d9b9448ff70072e0319926 (diff)
downloadsamba-36246a191c08a869dd3a8e509fe96f3c5c6bfc23.tar.gz
samba-36246a191c08a869dd3a8e509fe96f3c5c6bfc23.tar.bz2
samba-36246a191c08a869dd3a8e509fe96f3c5c6bfc23.zip
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)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index adbbe58e10..fa403658ee 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -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 {