Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1]
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp: scope_hint: In member function ‘void ItemBranchIndicators::updateParentChain()’
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp:41:17: warning[-Wc++20-extensions]: C++ designated initializers only available with ‘-std=c++20’ or ‘-std=gnu++20’
#   41 |                 .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
#      |                 ^
#   39|           while (index.isValid() && (!m_rootIndex.isValid() || index != m_rootIndex)) {
#   40|               auto data = PaintData{
#   41|->                 .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
#   42|                   .isItem = index == m_index,
#   43|               };

Error: COMPILER_WARNING: [#def2]
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp:42:17: warning[-Wc++20-extensions]: C++ designated initializers only available with ‘-std=c++20’ or ‘-std=gnu++20’
#   42 |                 .isItem = index == m_index,
#      |                 ^
#   40|               auto data = PaintData{
#   41|                   .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
#   42|->                 .isItem = index == m_index,
#   43|               };
#   44|               m_parentChain.push_back(data);

Error: COMPILER_WARNING: [#def3]
qqc2-desktop-style-6.12.0/redhat-linux-build/plugin/qqc2desktopstyleplugin_autogen/EWIEGA46WW/moc_itembranchindicators.cpp:9: included_from: Included from here.
qqc2-desktop-style-6.12.0/redhat-linux-build/plugin/qqc2desktopstyleplugin_autogen/mocs_compilation.cpp:2: included_from: Included from here.
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.h:14:25: warning[-Wc++20-extensions]: default member initializers for bit-fields only available with ‘-std=c++20’ or ‘-std=gnu++20’
#   14 |     bool hasSibling : 1 = false;
#      |                         ^
#   12|   
#   13|   struct PaintData {
#   14|->     bool hasSibling : 1 = false;
#   15|       bool isItem : 1 = false;
#   16|   };

Error: COMPILER_WARNING: [#def4]
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.h:15:21: warning[-Wc++20-extensions]: default member initializers for bit-fields only available with ‘-std=c++20’ or ‘-std=gnu++20’
#   15 |     bool isItem : 1 = false;
#      |                     ^
#   13|   struct PaintData {
#   14|       bool hasSibling : 1 = false;
#   15|->     bool isItem : 1 = false;
#   16|   };
#   17|   

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-207.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.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namekf6-qqc2-desktop-style-6.13.0-1.fc43
diffbase-store-results-to/tmp/tmp_6wgb2kx/kf6-qqc2-desktop-style-6.13.0-1.fc43.tar.xz
diffbase-time-created2025-04-25 13:41:51
diffbase-time-finished2025-04-25 13:44:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp_6wgb2kx/kf6-qqc2-desktop-style-6.13.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_6wgb2kx/kf6-qqc2-desktop-style-6.13.0-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-207.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-qqc2-desktop-style-6.12.0-1.fc42
store-results-to/tmp/tmpx5owcdpn/kf6-qqc2-desktop-style-6.12.0-1.fc42.tar.xz
time-created2025-04-25 13:38:26
time-finished2025-04-25 13:41:25
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpx5owcdpn/kf6-qqc2-desktop-style-6.12.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpx5owcdpn/kf6-qqc2-desktop-style-6.12.0-1.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9