Error: COMPILER_WARNING (CWE-563): [#def1] kio-extras-25.12.0/activities/common/database/Database.cpp: scope_hint: In member function ‘QSqlQuery Common::Database::execQuery(const QString&, bool) const’ kio-extras-25.12.0/activities/common/database/Database.cpp:224:58: warning[-Wunused-parameter]: unused parameter ‘ignoreErrors’ # 224 | QSqlQuery Database::execQuery(const QString &query, bool ignoreErrors) const # | ~~~~~^~~~~~~~~~~~ # 222| } # 223| # 224|-> QSqlQuery Database::execQuery(const QString &query, bool ignoreErrors) const # 225| { # 226| #ifdef QT_NO_DEBUG Error: COMPILER_WARNING (CWE-477): [#def2] kio-extras-25.12.0/activities/fileitemplugin/FileItemLinkingPluginActionLoader.cpp: scope_hint: In member function ‘virtual void FileItemLinkingPluginActionLoader::run()’ kio-extras-25.12.0/activities/fileitemplugin/FileItemLinkingPluginActionLoader.cpp:83:30: warning[-Wdeprecated-declarations]: ‘void QSqlField::setType(QVariant::Type)’ is deprecated: Use setMetaType() instead # 83 | field.setType(QVariant::String); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtSql/QSqlField:1: included_from: Included from here. kio-extras-25.12.0/activities/fileitemplugin/FileItemLinkingPluginActionLoader.cpp:20: included_from: Included from here. /usr/include/qt6/QtSql/qsqlfield.h:76:10: note: declared here # 76 | void setType(QVariant::Type type) { setMetaType(QMetaType(int(type))); } # | ^~~~~~~ # 81| QStringList escapedFiles; # 82| QSqlField field; # 83|-> field.setType(QVariant::String); # 84| # 85| const auto urlList = items.urlList(); Error: COMPILER_WARNING (CWE-563): [#def3] kio-extras-25.12.0/filenamesearch/kio_filenamesearch.cpp: scope_hint: In member function ‘virtual KIO::WorkerResult FileNameSearch::FileNameSearchProtocol::listDir(const QUrl&)’ kio-extras-25.12.0/filenamesearch/kio_filenamesearch.cpp:493:9: warning[-Wunused-variable]: unused variable ‘numberOfTerms’ # 493 | int numberOfTerms = termList.count(); # | ^~~~~~~~~~~~~ # 491| break; # 492| } # 493|-> int numberOfTerms = termList.count(); # 494| # 495| // Check the split up list of search terms or expressions to see whether they are valid. Error: COMPILER_WARNING: [#def4] kio-extras-25.12.0/man/man2html.cpp: scope_hint: In function ‘char* scan_escape_direct(char*, QByteArray&)’ kio-extras-25.12.0/man/man2html.cpp:1873:16: warning[-Wimplicit-fallthrough=]: this statement may fall through # 1873 | curpos = 0; # | ~~~~~~~^~~ kio-extras-25.12.0/man/man2html.cpp:1874:5: note: here # 1874 | case 'b': # | ^~~~ # 1871| case 'l': # 1872| cstr = "<HR>"; # 1873|-> curpos = 0; # 1874| case 'b': # 1875| case 'v': Error: COMPILER_WARNING: [#def5] kio-extras-25.12.0/man/man2html.cpp: scope_hint: In function ‘char* scan_table(char*)’ kio-extras-25.12.0/man/man2html.cpp:2483:21: warning[-Wimplicit-fallthrough=]: this statement may fall through # 2483 | if (prev->has(ti1)) # | ^~ kio-extras-25.12.0/man/man2html.cpp:2485:17: note: here # 2485 | default: # | ^~~~~~~ # 2481| break; # 2482| case '^': # 2483|-> if (prev->has(ti1)) # 2484| prev->at(ti1).rowspan++; # 2485| default: Error: COMPILER_WARNING: [#def6] kio-extras-25.12.0/man/man2html.cpp:2525:48: warning[-Wimplicit-fallthrough=]: this statement may fall through # 2525 | currow->at(curfield).space += 4; # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ kio-extras-25.12.0/man/man2html.cpp:2526:17: note: here # 2526 | case 'R': # | ^~~~ # 2523| switch (currow->at(curfield).align) { # 2524| case 'N': # 2525|-> currow->at(curfield).space += 4; # 2526| case 'R': # 2527| out_html(" ALIGN=right"); Error: COMPILER_WARNING (CWE-563): [#def7] kio-extras-25.12.0/mtp/kio_mtp.cpp: scope_hint: In member function ‘virtual KIO::WorkerResult MTPWorker::chmod(const QUrl&, int)’ kio-extras-25.12.0/mtp/kio_mtp.cpp:840:48: warning[-Wunused-parameter]: unused parameter ‘url’ # 840 | KIO::WorkerResult MTPWorker::chmod(const QUrl &url, int permissions) # | ~~~~~~~~~~~~^~~ # 838| } # 839| # 840|-> KIO::WorkerResult MTPWorker::chmod(const QUrl &url, int permissions) # 841| { # 842| return WorkerResult::pass(); Error: COMPILER_WARNING (CWE-563): [#def8] kio-extras-25.12.0/mtp/kio_mtp.cpp:840:57: warning[-Wunused-parameter]: unused parameter ‘permissions’ # 840 | KIO::WorkerResult MTPWorker::chmod(const QUrl &url, int permissions) # | ~~~~^~~~~~~~~~~ # 838| } # 839| # 840|-> KIO::WorkerResult MTPWorker::chmod(const QUrl &url, int permissions) # 841| { # 842| return WorkerResult::pass(); Error: COMPILER_WARNING (CWE-563): [#def9] kio-extras-25.12.0/mtp/kio_mtp.cpp: scope_hint: In member function ‘virtual KIO::WorkerResult MTPWorker::chown(const QUrl&, const QString&, const QString&)’ kio-extras-25.12.0/mtp/kio_mtp.cpp:845:48: warning[-Wunused-parameter]: unused parameter ‘url’ # 845 | KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # | ~~~~~~~~~~~~^~~ # 843| } # 844| # 845|-> KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # 846| { # 847| return WorkerResult::pass(); Error: COMPILER_WARNING (CWE-563): [#def10] kio-extras-25.12.0/mtp/kio_mtp.cpp:845:68: warning[-Wunused-parameter]: unused parameter ‘owner’ # 845 | KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # | ~~~~~~~~~~~~~~~^~~~~ # 843| } # 844| # 845|-> KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # 846| { # 847| return WorkerResult::pass(); Error: COMPILER_WARNING (CWE-563): [#def11] kio-extras-25.12.0/mtp/kio_mtp.cpp:845:90: warning[-Wunused-parameter]: unused parameter ‘group’ # 845 | KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # | ~~~~~~~~~~~~~~~^~~~~ # 843| } # 844| # 845|-> KIO::WorkerResult MTPWorker::chown(const QUrl &url, const QString &owner, const QString &group) # 846| { # 847| return WorkerResult::pass(); Error: COMPILER_WARNING: [#def12] kio-extras-25.12.0/nfs/nfsv3.cpp: scope_hint: In member function ‘virtual KIO::WorkerResult NFSProtocolV3::openConnection()’ kio-extras-25.12.0/nfs/nfsv3.cpp:239:9: warning[-Wunused-but-set-variable=]: variable ‘exportsCount’ set but not used # 239 | int exportsCount = 0; # | ^~~~~~~~~~~~ # 237| } # 238| # 239|-> int exportsCount = 0; # 240| bool mountHint = false; # 241| Error: COMPILER_WARNING: [#def13] [important] kio-extras-25.12.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-j7E5ck/HAVE_LIBUTIL_H.c:3:10: error[fatal error]: libutil.h: No such file or directory Error: COMPILER_WARNING (CWE-1023): [#def14] kio-extras-25.12.0/smb/kded/watcher.cpp: scope_hint: In member function ‘bool Watcher::isInterestingUrl(const QString&)’ kio-extras-25.12.0/smb/kded/watcher.cpp:147:16: warning[-Wswitch]: enumeration value ‘SMBURLTYPE_PRINTER’ not handled in switch # 147 | switch (url.getType()) { # | ^ # 145| { # 146| SMBUrl url{QUrl(str)}; # 147|-> switch (url.getType()) { # 148| case SMBURLTYPE_UNKNOWN: # 149| case SMBURLTYPE_ENTIRE_NETWORK:
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-48.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | kio-extras-25.12.0-1.fc44 |
| store-results-to | /tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.tar.xz |
| time-created | 2026-01-08 18:18:24 |
| time-finished | 2026-01-08 18:23:40 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |