]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Drop unused argument.
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 19 Jun 2025 12:50:16 +0000 (14:50 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Thu, 19 Jun 2025 14:06:38 +0000 (16:06 +0200)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
ext/lmdb-safe/lmdb-safe.hh

index d8b84f790028c8d6da2e7e61f18e31777e616599..dd0aa6d950543e17bb8f193abee7f526a9f24ee3 100644 (file)
@@ -941,7 +941,7 @@ public:
 #endif
 
 #ifndef DNSDIST
-  void del(int flags=0)
+  void del()
   {
     MDBOutVal key, val;
 
@@ -972,7 +972,7 @@ public:
     }
     else {
       // do a normal delete
-      if (int rc_del = mdb_cursor_del(*this, flags); rc_del != 0) {
+      if (int rc_del = mdb_cursor_del(*this, 0); rc_del != 0) {
         throw std::runtime_error("deleting data: " + std::string(mdb_strerror(rc_del)));
       }
     }