kf6-modemmanager-qt-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
kf6-modemmanager-qt-6.8.0-build/modemmanager-qt-6.8.0/src/modemdevice.cpp: scope_hint: In member function ‘void ModemManager::ModemDevicePrivate::init()’
kf6-modemmanager-qt-6.8.0-build/modemmanager-qt-6.8.0/src/modemdevice.cpp:51:10: warning[-Wunused-but-set-variable]: variable ‘success’ set but not used
#   51 |     bool success = QDBusConnection::sessionBus().connect(QLatin1String(MMQT_DBUS_SERVICE),
#      |          ^~~~~~~
#   49|       Q_Q(ModemManager::ModemDevice);
#   50|   #ifdef MMQT_STATIC
#   51|->     bool success = QDBusConnection::sessionBus().connect(QLatin1String(MMQT_DBUS_SERVICE),
#   52|                                                            QLatin1String(MMQT_DBUS_PATH),
#   53|                                                            QLatin1String(DBUS_INTERFACE_MANAGER),

Error: COMPILER_WARNING (CWE-563): [#def2]
kf6-modemmanager-qt-6.8.0-build/modemmanager-qt-6.8.0/src/modemdevice.cpp: scope_hint: In member function ‘void ModemManager::ModemDevicePrivate::init()’
kf6-modemmanager-qt-6.8.0-build/modemmanager-qt-6.8.0/src/modemdevice.cpp:64:10: warning[-Wunused-but-set-variable]: variable ‘success’ set but not used
#   64 |     bool success = QDBusConnection::systemBus().connect(QLatin1String(MMQT_DBUS_SERVICE),
#      |          ^~~~~~~
#   62|                                                       SLOT(onInterfacesRemoved(QDBusObjectPath, QStringList)));
#   63|   #else
#   64|->     bool success = QDBusConnection::systemBus().connect(QLatin1String(MMQT_DBUS_SERVICE),
#   65|                                                           QLatin1String(MMQT_DBUS_PATH),
#   66|                                                           QLatin1String(DBUS_INTERFACE_MANAGER),

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-45.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-modemmanager-qt-6.8.0-1.fc42
store-results-to/tmp/tmpizqlo36t/kf6-modemmanager-qt-6.8.0-1.fc42.tar.xz
time-created2024-11-13 01:01:42
time-finished2024-11-13 01:04:45
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpizqlo36t/kf6-modemmanager-qt-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpizqlo36t/kf6-modemmanager-qt-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9