From 1377f28f85118b97b723da6636a865499774b448 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 Jan 2009 18:20:23 +0100 Subject: [PATCH] Fix warning; base dn is no longer const. --- source3/lib/ldb/tools/ldbdel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/ldb/tools/ldbdel.c b/source3/lib/ldb/tools/ldbdel.c index cafe0bd352a..c58a82a523d 100644 --- a/source3/lib/ldb/tools/ldbdel.c +++ b/source3/lib/ldb/tools/ldbdel.c @@ -35,7 +35,7 @@ #include "ldb/include/includes.h" #include "ldb/tools/cmdline.h" -static int ldb_delete_recursive(struct ldb_context *ldb, const struct ldb_dn *dn) +static int ldb_delete_recursive(struct ldb_context *ldb, struct ldb_dn *dn) { int ret, i, total=0; const char *attrs[] = { NULL }; @@ -90,7 +90,7 @@ int main(int argc, const char **argv) } for (i=0;iargc;i++) { - const struct ldb_dn *dn; + struct ldb_dn *dn; dn = ldb_dn_explode(ldb, options->argv[i]); if (dn == NULL) { -- 2.11.4.GIT