signon-kwallet-extension-24.05.0-1.fc41

List of Defects

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);

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-180.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namesignon-kwallet-extension-24.05.0-1.fc41
store-results-to/tmp/tmpz12kikuu/signon-kwallet-extension-24.05.0-1.fc41.tar.xz
time-created2024-07-03 18:07:11
time-finished2024-07-03 18:08:32
toolcsmock
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-versioncsmock-3.5.3-1.el9