Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
plasma-integration-6.6.4/qt5/src/platformtheme/kdirselectdialog.cpp:289:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  289 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  287|   }
#  288|   
#  289|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  290|       // #ifdef Q_OS_WIN
#  291|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

Error: COMPILER_WARNING: [#def2]
plasma-integration-6.6.4/qt5/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.6.4/qt5/src/platformtheme/kdirselectdialog.cpp:384:44: warning[-Wdeprecated-enum-enum-conversion]: bitwise operation between different enumeration types ‘Qt::Modifier’ and ‘Qt::Key’ is deprecated
#  384 |     d->deleteAction->setShortcut(Qt::SHIFT | Qt::Key_Delete);
#      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~~~
#  382|       d->m_actions->addAction(d->deleteAction->objectName(), d->deleteAction);
#  383|       d->deleteAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
#  384|->     d->deleteAction->setShortcut(Qt::SHIFT | Qt::Key_Delete);
#  385|       connect(d->deleteAction, &QAction::triggered, this, [this]() {
#  386|           d->slotDelete();

Error: COMPILER_WARNING: [#def3]
plasma-integration-6.6.4/qt5/src/platformtheme/kdirselectdialog.cpp:402:43: warning[-Wdeprecated-enum-enum-conversion]: bitwise operation between different enumeration types ‘Qt::Modifier’ and ‘Qt::Key’ is deprecated
#  402 |     propertiesAction->setShortcut(Qt::ALT | Qt::Key_Return);
#      |                                   ~~~~~~~~^~~~~~~~~~~~~~~~
#  400|       d->m_actions->addAction(propertiesAction->objectName(), propertiesAction);
#  401|       propertiesAction->setIcon(QIcon::fromTheme(QStringLiteral("document-properties")));
#  402|->     propertiesAction->setShortcut(Qt::ALT | Qt::Key_Return);
#  403|       connect(propertiesAction, &QAction::triggered, this, [this]() {
#  404|           d->slotProperties();

Error: COMPILER_WARNING (CWE-563): [#def4]
plasma-integration-6.6.4/qt6/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.6.4/qt6/src/platformtheme/kdirselectdialog.cpp:274:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  274 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  272|   }
#  273|   
#  274|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  275|       // #ifdef Q_OS_WIN
#  276|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-79.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameplasma-integration-6.6.91-1.fc45
diffbase-store-results-to/tmp/tmpa8v6602t/plasma-integration-6.6.91-1.fc45.tar.xz
diffbase-time-created2026-06-01 15:47:11
diffbase-time-finished2026-06-01 15:49:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpa8v6602t/plasma-integration-6.6.91-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpa8v6602t/plasma-integration-6.6.91-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-79.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameplasma-integration-6.6.4-1.fc44
store-results-to/tmp/tmp5vaaohsx/plasma-integration-6.6.4-1.fc44.tar.xz
time-created2026-06-01 15:44:06
time-finished2026-06-01 15:46:59
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp5vaaohsx/plasma-integration-6.6.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5vaaohsx/plasma-integration-6.6.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9