kf6-kconfig-6.3.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
kf6-kconfig-6.3.0-build/kconfig-6.3.0/src/core/kdesktopfile.cpp: scope_hint: In member function ‘bool KDesktopFile::tryExec() const’
kf6-kconfig-6.3.0-build/kconfig-6.3.0/src/core/kdesktopfile.cpp:273:20: warning[-Wunused-variable]: unused variable ‘su’
#  273 |     if (const bool su = d->desktopGroup.readEntry("X-KDE-SubstituteUID", false)) {
#      |                    ^~
#  271|   
#  272|       // See also KService::username()
#  273|->     if (const bool su = d->desktopGroup.readEntry("X-KDE-SubstituteUID", false)) {
#  274|           QString user = d->desktopGroup.readEntry("X-KDE-Username", QString());
#  275|           if (user.isEmpty()) {

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-221.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-kconfig-6.3.0-1.fc41
store-results-to/tmp/tmp53rl1u6i/kf6-kconfig-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:03:05
time-finished2024-07-03 14:05:29
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp53rl1u6i/kf6-kconfig-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp53rl1u6i/kf6-kconfig-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9