]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/cdb.cc
Merge pull request #14324 from Habbie/auth-lua-docs-backquote-nit
[thirdparty/pdns.git] / pdns / cdb.cc
index 55ade934e5218db924f28ab5eb022d869b0e1ca0..ed8b8fda2e85c7821a7de6714faef93261fbb2e7 100644 (file)
@@ -145,9 +145,7 @@ vector<string> CDB::findall(string &key)
     throw std::runtime_error("Error looking up key '" + key + "' from CDB database: " + std::to_string(res));
   }
 
-  int x=0;
   while(cdb_findnext(&cdbf) > 0) {
-    x++;
     unsigned int vpos = cdb_datapos(&d_cdb);
     unsigned int vlen = cdb_datalen(&d_cdb);
     std::string val;