mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Revert "ldb: Add parameter to avoid NULL format string flagged by -Werror=format"
This reverts commit cddcaf7bd2
.
-Werror=format is no longer uses when it would cause this to fail.
This is a legitimate use of the ldb_search API.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug 6 14:47:27 CEST 2012 on sn-devel-104
This commit is contained in:
parent
33c79c8731
commit
4e0fb8b4b1
@ -1015,7 +1015,7 @@ static int map_init_dns(struct ldb_module *module, struct ldb_map_context *data,
|
||||
return LDB_ERR_OPERATIONS_ERROR;
|
||||
}
|
||||
|
||||
ret = ldb_search(ldb, data, &res, dn, LDB_SCOPE_BASE, attrs, "(|(objectClass=*)(dn=*))");
|
||||
ret = ldb_search(ldb, data, &res, dn, LDB_SCOPE_BASE, attrs, NULL);
|
||||
talloc_free(dn);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user