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
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-93.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kglobalacceld-6.1.1-1.fc41 |
store-results-to | /tmp/tmped8e4ble/kglobalacceld-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 14:22:41 |
time-finished | 2024-07-03 14:24:29 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |