Fixed defects

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/globalshortcuts.cpp: scope_hint: In member function ‘uint GlobalShortcutsPortal::CreateSession(const QDBusObjectPath&, const QDBusObjectPath&, const QString&, const QVariantMap&, QVariantMap&)’
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/globalshortcuts.cpp:44:56: warning[-Wunused-parameter]: unused parameter ‘results’
#   44 |                                           QVariantMap &results)
#      |                                           ~~~~~~~~~~~~~^~~~~~~
#   42|                                             const QString &app_id,
#   43|                                             const QVariantMap &options,
#   44|->                                           QVariantMap &results)
#   45|   {
#   46|       qCDebug(XdgDesktopPortalKdeGlobalShortcuts) << "CreateSession called with parameters:";

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-241.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namexdg-desktop-portal-kde-6.1.1-1.fc41
diffbase-store-results-to/tmp/tmphyxkf6n_/xdg-desktop-portal-kde-6.1.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 18:25:15
diffbase-time-finished2024-07-03 18:28:49
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphyxkf6n_/xdg-desktop-portal-kde-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphyxkf6n_/xdg-desktop-portal-kde-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-241.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namexdg-desktop-portal-kde-6.0.3-1.fc40
store-results-to/tmp/tmpk2y34to5/xdg-desktop-portal-kde-6.0.3-1.fc40.tar.xz
time-created2024-07-03 18:21:10
time-finished2024-07-03 18:25:04
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpk2y34to5/xdg-desktop-portal-kde-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpk2y34to5/xdg-desktop-portal-kde-6.0.3-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9