diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-12-06 11:45:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:22 -0500 |
commit | c0d74d11bc205b4fef80f8faa81df2dee5613368 (patch) | |
tree | af8ded45049fb3a1dae0043bebe5c9300040d58e /source3 | |
parent | 8a20dd0ff1b3ba293f311ddfe247953df1728b27 (diff) | |
download | samba-c0d74d11bc205b4fef80f8faa81df2dee5613368.tar.gz samba-c0d74d11bc205b4fef80f8faa81df2dee5613368.tar.bz2 samba-c0d74d11bc205b4fef80f8faa81df2dee5613368.zip |
r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static string
(This used to be commit f64866a43fbc21666e919cafdf3002a8e43c60af)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/ldb/ldb_tdb/ldb_index.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/ldb/ldb_tdb/ldb_index.c b/source3/lib/ldb/ldb_tdb/ldb_index.c index c9a5dc9b05..e84dac3f90 100644 --- a/source3/lib/ldb/ldb_tdb/ldb_index.c +++ b/source3/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) { |