]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove dead variable pointed by clang-tidy
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 26 Nov 2025 05:48:06 +0000 (06:48 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 18 Mar 2026 08:12:12 +0000 (09:12 +0100)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/ueberbackend.cc

index 656b306157ce0206091226d920bc86e7d803e367..2fa125654b5fa852744c7d381d909dcb4aceb946 100644 (file)
@@ -1121,8 +1121,7 @@ bool UeberBackend::handle::get(DNSZoneRecord& record)
 {
   DLOG(SLOG(g_log << "Ueber get() was called for a " << qtype << " record" << endl,
             d_slog->info(Logr::Debug, "get called", "type", Logging::Loggable(qtype))));
-  bool isMore = false;
-  while (d_hinterBackend != nullptr && !(isMore = d_hinterBackend->get(record))) { // this backend is out of answers
+  while (d_hinterBackend != nullptr && !(d_hinterBackend->get(record))) { // this backend is out of answers
     DLOG(SLOG(g_log << "Backend #" << backendIndex << " of " << parent->backends.size()
                     << " out of answers, trying next" << endl,
               d_slog->info(Logr::Debug, "backend out of answers, taking next", "zero-based backend index", Logging::Loggable(backendIndex), "backend count", Logging::Loggable(parent->backends.size()))));