Error: COMPILER_WARNING (CWE-563): [#def1] signon-kwallet-extension-24.05.0-build/signon-kwallet-extension-24.05.0/src/keyringplugin.cpp: scope_hint: In member function ‘virtual SignOn::AbstractSecretsStorage* KeyringPlugin::secretsStorage(QObject*) const’ signon-kwallet-extension-24.05.0-build/signon-kwallet-extension-24.05.0/src/keyringplugin.cpp:24:72: warning[-Wunused-parameter]: unused parameter ‘parent’ # 24 | SignOn::AbstractSecretsStorage* KeyringPlugin::secretsStorage(QObject* parent) const # | ~~~~~~~~~^~~~~~ # 22| #include <SignOn/AbstractSecretsStorage> # 23| # 24|-> SignOn::AbstractSecretsStorage* KeyringPlugin::secretsStorage(QObject* parent) const # 25| { # 26| return new SecretsStorage(); Error: COMPILER_WARNING (CWE-563): [#def2] signon-kwallet-extension-24.05.0-build/signon-kwallet-extension-24.05.0/src/secretsstorage.cpp: scope_hint: In member function ‘virtual bool SecretsStorage::initialize(const QVariantMap&)’ signon-kwallet-extension-24.05.0-build/signon-kwallet-extension-24.05.0/src/secretsstorage.cpp:43:52: warning[-Wunused-parameter]: unused parameter ‘configuration’ # 43 | bool SecretsStorage::initialize(const QVariantMap &configuration) # | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ # 41| } # 42| # 43|-> bool SecretsStorage::initialize(const QVariantMap &configuration) # 44| { # 45| m_wallet = Wallet::openWallet(Wallet::NetworkWallet(), 0, Wallet::Synchronous);
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-180.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | signon-kwallet-extension-24.05.0-1.fc41 |
store-results-to | /tmp/tmpz12kikuu/signon-kwallet-extension-24.05.0-1.fc41.tar.xz |
time-created | 2024-07-03 18:07:11 |
time-finished | 2024-07-03 18:08:32 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpz12kikuu/signon-kwallet-extension-24.05.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpz12kikuu/signon-kwallet-extension-24.05.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |