]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Disable lint for call to dlerror()
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 13 Oct 2023 13:08:34 +0000 (15:08 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Sun, 29 Oct 2023 14:35:49 +0000 (15:35 +0100)
pdns/ueberbackend.cc

index 6543968631ae7dc310805f11342e9118f0da2d75..89d9298a44b82fa7093b76313dfaf433b829603d 100644 (file)
@@ -65,6 +65,7 @@ bool UeberBackend::loadmodule(const string& name)
   void* dlib = dlopen(name.c_str(), RTLD_NOW);
 
   if (dlib == nullptr) {
+    // NOLINTNEXTLINE(concurrency-mt-unsafe): There's no thread-safe alternative to dlerror().
     g_log << Logger::Error << "Unable to load module '" << name << "': " << dlerror() << endl;
     return false;
   }