kf6-kconfig-6.0.0-1.fc40

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
kf6-kconfig-6.0.0-build/kconfig-6.0.0/src/core/kdesktopfile.cpp: scope_hint: In member function ‘bool KDesktopFile::tryExec() const’
kf6-kconfig-6.0.0-build/kconfig-6.0.0/src/core/kdesktopfile.cpp:275:20: warning[-Wunused-variable]: unused variable ‘su’
#  275 |     if (const bool su = d->desktopGroup.readEntry("X-KDE-SubstituteUID", false)) {
#      |                    ^~
#  273|   
#  274|       // See also KService::username()
#  275|->     if (const bool su = d->desktopGroup.readEntry("X-KDE-SubstituteUID", false)) {
#  276|           QString user = d->desktopGroup.readEntry("X-KDE-Username", QString());
#  277|           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.0.0-1.fc40
store-results-to/tmp/tmp4zqejd62/kf6-kconfig-6.0.0-1.fc40.tar.xz
time-created2024-07-03 14:00:01
time-finished2024-07-03 14:02:50
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4zqejd62/kf6-kconfig-6.0.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp4zqejd62/kf6-kconfig-6.0.0-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9