# kde-cli-tools-6.0.3-1.fc40

## List of Defects

    Error: CLANG_WARNING: [#def1]
    kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/kservicelistwidget.cpp:270:20: warning[deadcode.DeadStores]: Value stored to 'valid' during its initialization is never read
    #  268|               return;
    #  269|           }
    #  270|->         const bool valid = dlg.chosenPart().isValid();
    #  271|           Q_ASSERT(valid);
    #  272|           if (m_mimeTypeData->embedParts().contains(dlg.chosenPart().pluginId())) {

    Error: CLANG_WARNING: [#def2]
    kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/typeslisttreewidget.cpp:42:21: warning[deadcode.DeadStores]: Value stored to 'state' is never read
    #   40|               if (item->isSelected() && item->data(0, Qt::CheckStateRole).isValid()) {
    #   41|                   if (first) {
    #   42|->                     state = item->checkState(0);
    #   43|
    #   44|                       if (item->checkState(0) != Qt::Checked) {

## Scan Properties

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
enabled-plugins | clang, cppcheck, gcc, shellcheck
exit-code | 0
host | ip-172-16-1-217.us-west-2.compute.internal
mock-config | fedora-41-x86_64
project-name | kde-cli-tools-6.0.3-1.fc40
store-results-to | /tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.tar.xz
time-created | 2024-07-03 13:40:12
time-finished | 2024-07-03 13:43:03
tool | csmock
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.src.rpm'
tool-version | csmock-3.5.3-1.el9