Error: COMPILER_WARNING (CWE-563): [#def1] plasma-breeze-6.0.3-build/breeze-6.0.3/kstyle/breezestyle.cpp: scope_hint: In member function ‘bool Breeze::Style::drawScrollBarComplexControl(const QStyleOptionComplex*, QPainter*, const QWidget*) const’ plasma-breeze-6.0.3-build/breeze-6.0.3/kstyle/breezestyle.cpp:7648:16: warning[-Wunused-variable]: unused variable ‘animated’ # 7648 | const bool animated(StyleConfigData::animationsEnabled() && _animations->scrollBarEngine().isAnimated(widget, AnimationHover, QStyle::SC_ScrollBarGroove)); # | ^~~~~~~~ # 7646| // the opacity of everything else as well, included slider and arrows # 7647| qreal opacity(_animations->scrollBarEngine().opacity(widget, QStyle::SC_ScrollBarGroove)); # 7648|-> const bool animated(StyleConfigData::animationsEnabled() && _animations->scrollBarEngine().isAnimated(widget, AnimationHover, QStyle::SC_ScrollBarGroove)); # 7649| const bool mouseOver(option->state & State_MouseOver); # 7650| Error: COMPILER_WARNING (CWE-563): [#def2] plasma-breeze-6.0.3-build/breeze-6.0.3/kstyle/breezestyle.cpp:7649:16: warning[-Wunused-variable]: unused variable ‘mouseOver’ # 7649 | const bool mouseOver(option->state & State_MouseOver); # | ^~~~~~~~~ # 7647| qreal opacity(_animations->scrollBarEngine().opacity(widget, QStyle::SC_ScrollBarGroove)); # 7648| const bool animated(StyleConfigData::animationsEnabled() && _animations->scrollBarEngine().isAnimated(widget, AnimationHover, QStyle::SC_ScrollBarGroove)); # 7649|-> const bool mouseOver(option->state & State_MouseOver); # 7650| # 7651| if (opacity == AnimationData::OpacityInvalid) {
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-231.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | plasma-breeze-6.1.1-1.fc41 |
diffbase-store-results-to | /tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 17:04:35 |
diffbase-time-finished | 2024-07-03 17:09:05 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-231.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | plasma-breeze-6.0.3-1.fc40 |
store-results-to | /tmp/tmp3754i423/plasma-breeze-6.0.3-1.fc40.tar.xz |
time-created | 2024-07-03 16:59:07 |
time-finished | 2024-07-03 17:04:07 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3754i423/plasma-breeze-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp3754i423/plasma-breeze-6.0.3-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |