[pim/libkleo] /: Change misleading parameter name

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c2c95fdbf03cc97f4e42b95b6ec3427ca54e2907 by Ingo Klöcker, on behalf of Ingo Klöcker.
Committed on 29/07/2026 at 08:02.
Pushed by kloecker into branch 'master'.

Change misleading parameter name

M  +1    -1    autotests/formattingtest.cpp
M  +2    -2    src/utils/compliance.cpp

https://invent.kde.org/pim/libkleo/-/commit/c2c95fdbf03cc97f4e42b95b6ec3427ca54e2907

diff --git a/autotests/formattingtest.cpp b/autotests/formattingtest.cpp
index f992aae9..1280da7c 100644
--- a/autotests/formattingtest.cpp
+++ b/autotests/formattingtest.cpp
@@ -34,7 +34,7 @@ using namespace Qt::Literals::StringLiterals;
 
 namespace Kleo::Tests::DeVSCompliance
 {
-void forceUsageOfCompliance(bool active);
+void forceUsageOfCompliance(bool useComplianceOption);
 }
 
 // Curve 448 test key with signing subkey (this key has V5 fingerprints)
diff --git a/src/utils/compliance.cpp b/src/utils/compliance.cpp
index f21983e5..35c4b781 100644
--- a/src/utils/compliance.cpp
+++ b/src/utils/compliance.cpp
@@ -36,9 +36,9 @@ Q_GLOBAL_STATIC(bool, useComplianceForTests)
 
 namespace Kleo::Tests::DeVSCompliance
 {
-KLEO_EXPORT void forceUsageOfCompliance(bool active)
+KLEO_EXPORT void forceUsageOfCompliance(bool useComplianceOption)
 {
-    *useComplianceForTests() = active;
+    *useComplianceForTests() = useComplianceOption;
 }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.