powerdevil-6.5.4-1.fc44

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
powerdevil-6.5.4/daemon/controllers/ddcutildisplay.cpp: scope_hint: In member function ‘virtual void DDCutilDisplay::setBrightness(int, bool)’
powerdevil-6.5.4/daemon/controllers/ddcutildisplay.cpp:195:52: warning[-Wunused-parameter]: unused parameter ‘allowAnimations’
#  195 | void DDCutilDisplay::setBrightness(int value, bool allowAnimations)
#      |                                               ~~~~~^~~~~~~~~~~~~~~
#  193|   }
#  194|   
#  195|-> void DDCutilDisplay::setBrightness(int value, bool allowAnimations)
#  196|   {
#  197|   #ifdef WITH_DDCUTIL

Error: COMPILER_WARNING (CWE-563): [#def2]
powerdevil-6.5.4/daemon/controllers/kwinbrightness.cpp: scope_hint: In member function ‘virtual void KWinDisplayBrightness::setBrightness(int, bool)’
powerdevil-6.5.4/daemon/controllers/kwinbrightness.cpp:157:64: warning[-Wunused-parameter]: unused parameter ‘allowAnimations’
#  157 | void KWinDisplayBrightness::setBrightness(int brightness, bool allowAnimations)
#      |                                                           ~~~~~^~~~~~~~~~~~~~~
#  155|   }
#  156|   
#  157|-> void KWinDisplayBrightness::setBrightness(int brightness, bool allowAnimations)
#  158|   {
#  159|       m_desiredBrightness = brightness / 10'000.0;

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-137.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepowerdevil-6.5.4-1.fc44
store-results-to/tmp/tmpb2t8u3oy/powerdevil-6.5.4-1.fc44.tar.xz
time-created2026-01-08 20:25:58
time-finished2026-01-08 20:29:48
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpb2t8u3oy/powerdevil-6.5.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb2t8u3oy/powerdevil-6.5.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9