s4-dsdb: fixed a warning on dsdb_delete()
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Aug 2011 02:40:24 +0000 (12:40 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 4 Aug 2011 06:17:24 +0000 (16:17 +1000)
struct ldb_dn is never const

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>

source4/dsdb/common/util.c

index 344da344a3c9de96196a78f14bcca76245699d52..f306748d0890cffad62eccc541b6390e8edb909a 100644 (file)
@@ -3725,7 +3725,7 @@ int dsdb_modify(struct ldb_context *ldb, const struct ldb_message *message,
 /*
   a delete with a set of flags
 */
-int dsdb_delete(struct ldb_context *ldb, const struct ldb_dn *dn,
+int dsdb_delete(struct ldb_context *ldb, struct ldb_dn *dn,
                uint32_t dsdb_flags)
 {
        struct ldb_request *req;