Fixed defects

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
kglobalacceld-6.0.3-build/kglobalacceld-6.0.3/src/globalshortcutsregistry.cpp: scope_hint: In lambda function
kglobalacceld-6.0.3-build/kglobalacceld-6.0.3/src/globalshortcutsregistry.cpp:206:110: warning[-Wunused-parameter]: unused parameter ‘displayName’
#  206 |         auto migrateTo = [this, componentName](KConfigGroup &group, const QString &actionName, const QString displayName) {
#      |                                                                                                ~~~~~~~~~~~~~~^~~~~~~~~~~
#  204|           const QString componentName = QFileInfo(fileName).fileName();
#  205|   
#  206|->         auto migrateTo = [this, componentName](KConfigGroup &group, const QString &actionName, const QString displayName) {
#  207|               QString migrateFrom = group.readEntry<QString>(QStringLiteral("X-KDE-Migrate-Shortcut"), QString());
#  208|   

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-93.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namekglobalacceld-6.1.1-1.fc41
diffbase-store-results-to/tmp/tmped8e4ble/kglobalacceld-6.1.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 14:22:41
diffbase-time-finished2024-07-03 14:24:29
diffbase-toolcsmock
diffbase-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'
diffbase-tool-versioncsmock-3.5.3-1.el9
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.0.3-1.fc40
store-results-to/tmp/tmp_10lxou5/kglobalacceld-6.0.3-1.fc40.tar.xz
time-created2024-07-03 14:19:58
time-finished2024-07-03 14:22:13
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_10lxou5/kglobalacceld-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp_10lxou5/kglobalacceld-6.0.3-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9