svn commit: samba r19112 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
tridge at samba.org
tridge at samba.org
Fri Oct 6 06:38:28 GMT 2006
Author: tridge
Date: 2006-10-06 06:38:26 +0000 (Fri, 06 Oct 2006)
New Revision: 19112
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19112
Log:
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'
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2006-10-06 05:36:29 UTC (rev 19111)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2006-10-06 06:38:26 UTC (rev 19112)
@@ -324,7 +324,7 @@
}
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 {
More information about the samba-cvs
mailing list