kf6-sonnet-6.3.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
kf6-sonnet-6.3.0-build/sonnet-6.3.0/src/quick/spellcheckhighlighter.cpp: scope_hint: In member function ‘QStringList SpellcheckHighlighter::suggestions(int, int)’
kf6-sonnet-6.3.0-build/sonnet-6.3.0/src/quick/spellcheckhighlighter.cpp:424:9: warning[-Wunused-variable]: unused variable ‘endSelection’
#  424 |     int endSelection = wordSelectCursor.selectionEnd();
#      |         ^~~~~~~~~~~~
#  422|       wordSelectCursor.movePosition(QTextCursor::NextCharacter, QTextCursor::KeepAnchor, d->selectedWord.size());
#  423|   
#  424|->     int endSelection = wordSelectCursor.selectionEnd();
#  425|       Q_EMIT wordUnderMouseChanged();
#  426|   

Error: CLANG_WARNING: [#def2]
kf6-sonnet-6.3.0-build/sonnet-6.3.0/src/quick/spellcheckhighlighter.cpp:424:9: warning[deadcode.DeadStores]: Value stored to 'endSelection' during its initialization is never read
#  422|       wordSelectCursor.movePosition(QTextCursor::NextCharacter, QTextCursor::KeepAnchor, d->selectedWord.size());
#  423|   
#  424|->     int endSelection = wordSelectCursor.selectionEnd();
#  425|       Q_EMIT wordUnderMouseChanged();
#  426|   

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-142.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-sonnet-6.3.0-1.fc41
store-results-to/tmp/tmp8sim19u9/kf6-sonnet-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:22:00
time-finished2024-07-03 14:24:19
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp8sim19u9/kf6-sonnet-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp8sim19u9/kf6-sonnet-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9