Task #639 - kf6-kconfig-6.3.0-1.fc41/scan-results.err

back to task #639
download
Error: COMPILER_WARNING (CWE-563):
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()) {