From 04c86557195a014bd7e872014e6144c100ead0a1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 8 Sep 2015 07:47:55 +0200 Subject: [PATCH] dsdb: Fix a confusing parameter LDB_SCOPE_BASE is 0, so this works, but the corresponding parameter is "struct ldb_control **controls", so I'd say NULL is more appropriate here. Fixes a warning I just saw pass by. Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source4/dsdb/repl/replicated_objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index 97b8b2a7a3a..df880ad7373 100644 --- a/source4/dsdb/repl/replicated_objects.c +++ b/source4/dsdb/repl/replicated_objects.c @@ -902,7 +902,7 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb, ret = ldb_build_mod_req(&req, ldb, objects, msg, - LDB_SCOPE_BASE, + NULL, NULL, ldb_op_default_callback, NULL); -- 2.11.4.GIT