diff options
Diffstat (limited to 'xmlsecurity/source/gpg')
-rw-r--r-- | xmlsecurity/source/gpg/SecurityEnvironment.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx index 468738f34c33..290529bc8ae6 100644 --- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx +++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx @@ -51,7 +51,7 @@ SecurityEnvironmentGpg::SecurityEnvironmentGpg() // in instdir/program/python-core-x.y.z/bin, while gpgme-w32spawn.exe is in instdir/program. // If we can't find gpgme-w32spawn.exe in the current executable location, then try to find // the spawn executable, and inform gpgme about actual location using gpgme_set_global_flag. - static bool bSpawnPathInitialized = [] { + [[maybe_unused]] static bool bSpawnPathInitialized = [] { auto accessUrl = [](const INetURLObject& url) { osl::File file(url.GetMainURL(INetURLObject::DecodeMechanism::NONE)); return file.open(osl_File_OpenFlag_Read) == osl::FileBase::E_None; |