From: Fred Morcos Date: Fri, 13 Oct 2023 13:08:34 +0000 (+0200) Subject: Disable lint for call to dlerror() X-Git-Tag: rec-5.0.0-beta1~16^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d330c9843ca897ce5ce25ea4a39632c9dc351352;p=thirdparty%2Fpdns.git Disable lint for call to dlerror() --- diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 6543968631..89d9298a44 100644 --- a/pdns/ueberbackend.cc +++ b/pdns/ueberbackend.cc @@ -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; }