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),
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-45.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kf6-modemmanager-qt-6.8.0-1.fc42 |
store-results-to | /tmp/tmpizqlo36t/kf6-modemmanager-qt-6.8.0-1.fc42.tar.xz |
time-created | 2024-11-13 01:01:42 |
time-finished | 2024-11-13 01:04:45 |
tool | csmock |
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-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |