mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static string
This commit is contained in:
parent
75555ae1c8
commit
f64866a43f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user