diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-12-06 11:45:33 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2006-12-06 11:45:33 +0000 |
commit | 214414b1e86b9950cd014d79fe627587cea9ce04 (patch) | |
tree | dd809ea132b71bf69e6a5d85a5fe91837fec78f0 /source/lib | |
parent | 330f0f429276bd85d754f4d23b9e2e451fc1f31b (diff) | |
download | samba-214414b1e86b9950cd014d79fe627587cea9ce04.tar.gz samba-214414b1e86b9950cd014d79fe627587cea9ce04.tar.xz samba-214414b1e86b9950cd014d79fe627587cea9ce04.zip |
r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static string
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/ldb/ldb_tdb/ldb_index.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/lib/ldb/ldb_tdb/ldb_index.c b/source/lib/ldb/ldb_tdb/ldb_index.c index c9a5dc9b050..e84dac3f90c 100644 --- a/source/lib/ldb/ldb_tdb/ldb_index.c +++ b/source/lib/ldb/ldb_tdb/ldb_index.c @@ -296,9 +296,6 @@ static int ltdb_index_dn_objectclass(struct ldb_module *module, struct dn_list *list2; tree2.operation = LDB_OP_EQUALITY; tree2.u.equality.attr = LTDB_OBJECTCLASS; - if (!tree2.u.equality.attr) { - return -1; - } tree2.u.equality.value.data = (uint8_t *)talloc_strdup(list, subclasses[i]); if (tree2.u.equality.value.data == NULL) { |