Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kf6-ktexteditor-6.7.0-build/ktexteditor-6.7.0/src/dialogs/katedialogs.cpp: scope_hint: In constructor ‘KateViewDefaultsConfig::KateViewDefaultsConfig(QWidget*)’
kf6-ktexteditor-6.7.0-build/ktexteditor-6.7.0/src/dialogs/katedialogs.cpp:776:50: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead
#  776 |     connect(textareaUi->cbxWordWrap, &QCheckBox::stateChanged, this, a);
#      |                                                  ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/QCheckBox:1: included_from: Included from here.
kf6-ktexteditor-6.7.0-build/ktexteditor-6.7.0/redhat-linux-build/src/ui_bordersappearanceconfigwidget.h:16: included_from: Included from here.
kf6-ktexteditor-6.7.0-build/ktexteditor-6.7.0/src/dialogs/katedialogs.cpp:33: included_from: Included from here.
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
#   41 |     void stateChanged(int);
#      |          ^~~~~~~~~~~~
#  774|           ui->sbDynamicWordWrapDepth->setEnabled(cbx->isChecked());
#  775|       };
#  776|->     connect(textareaUi->cbxWordWrap, &QCheckBox::stateChanged, this, a);
#  777|       a();
#  778|       auto b = [cbx = textareaUi->cbxIndentWrappedLines, sb = textareaUi->sbDynamicWordWrapDepth]() {

Error: COMPILER_WARNING (CWE-477): [#def2]
kf6-ktexteditor-6.7.0-build/ktexteditor-6.7.0/src/dialogs/katedialogs.cpp:782:60: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead
#  782 |     connect(textareaUi->cbxIndentWrappedLines, &QCheckBox::stateChanged, this, b);
#      |                                                            ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
#   41 |     void stateChanged(int);
#      |          ^~~~~~~~~~~~
#  780|       };
#  781|       b();
#  782|->     connect(textareaUi->cbxIndentWrappedLines, &QCheckBox::stateChanged, this, b);
#  783|       observeChanges(textareaUi->cbxIndentWrappedLines);
#  784|       observeChanges(textareaUi->sbDynamicWordWrapDepth);

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
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-232.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namekf6-ktexteditor-6.8.0-1.fc42
diffbase-store-results-to/tmp/tmpl6s1_mw7/kf6-ktexteditor-6.8.0-1.fc42.tar.xz
diffbase-time-created2024-11-13 01:03:22
diffbase-time-finished2024-11-13 01:07:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpl6s1_mw7/kf6-ktexteditor-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/tmpl6s1_mw7/kf6-ktexteditor-6.8.0-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-232.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-ktexteditor-6.7.0-1.fc41
store-results-to/tmp/tmpdwi8458u/kf6-ktexteditor-6.7.0-1.fc41.tar.xz
time-created2024-11-13 00:58:13
time-finished2024-11-13 01:03:03
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpdwi8458u/kf6-ktexteditor-6.7.0-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpdwi8458u/kf6-ktexteditor-6.7.0-1.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9