kglobalacceld-6.1.1-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kglobalacceld-6.1.1-build/kglobalacceld-6.1.1/src/kglobalacceld.cpp:347:9: warning[deadcode.DeadStores]: Value stored to 'shortcut' is never read
#  345|       GlobalShortcut *shortcut = d->findAction(actionId);
#  346|       if (!shortcut) {
#  347|->         shortcut = d->addAction(actionId);
#  348|       } else {
#  349|           // a switch of locales is one common reason for a changing friendlyName

Error: CLANG_WARNING: [#def2]
kglobalacceld-6.1.1-build/kglobalacceld-6.1.1/src/kglobalacceld.cpp:360:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'shortcut'
#  358|           }
#  359|       }
#  360|-> }
#  361|   
#  362|   QDBusObjectPath KGlobalAccelD::getComponent(const QString &componentUnique) const

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-93.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekglobalacceld-6.1.1-1.fc41
store-results-to/tmp/tmped8e4ble/kglobalacceld-6.1.1-1.fc41.tar.xz
time-created2024-07-03 14:22:41
time-finished2024-07-03 14:24:29
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmped8e4ble/kglobalacceld-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmped8e4ble/kglobalacceld-6.1.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9