Fixed findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/lib64/qt6/bin/qt-configure-module:76:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   74|   fresh_requested_arg=
#   75|   if [ -z "$optfile" ]; then   # only write optfile if not currently redoing
#   76|->     > "$opttmpfilepath"
#   77|       > "$redotmpfilepath"
#   78|   

Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/lib64/qt6/bin/qt-configure-module:86:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   84|   else
#   85|       # Rewriting config.opt into config.opt.in anyway. Allows for direct manipulation of config.opt
#   86|->     > "$opttmpfilepath"
#   87|       for arg in `cat $optfile`; do echo \"$arg\" >> "$opttmpfilepath"; done
#   88|   

Error: COMPILER_WARNING: [#def3]
qtbase-everywhere-src-6.10.2/redhat-linux-build/include/QtCore/qregularexpression.h:1: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/io/qdir.cpp:17: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/text/qregularexpression.h:31:21: warning[-Wsfinae-incomplete=]: defining ‘QRegularExpression’, which previously failed to be complete in a SFINAE context
#   31 | class Q_CORE_EXPORT QRegularExpression
#      |                     ^~~~~~~~~~~~~~~~~~
/usr/include/c++/16/unordered_map:44: included_from: Included from here.
/usr/include/c++/16/functional:80: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/global/qcomparehelpers.h:28: included_from: Included from here.
qtbase-everywhere-src-6.10.2/redhat-linux-build/include/QtCore/qcomparehelpers.h:1: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/global/qcompare.h:639: included_from: Included from here.
qtbase-everywhere-src-6.10.2/redhat-linux-build/include/QtCore/qcompare.h:1: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/io/qdir.h:8: included_from: Included from here.
qtbase-everywhere-src-6.10.2/src/corelib/io/qdir.cpp:6: included_from: Included from here.
/usr/include/c++/16/bits/range_access.h:325:24: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
#  325 |     -> decltype(__cont.data())
#      |                 ~~~~~~~^~~~
#   29|   Q_CORE_EXPORT size_t qHash(const QRegularExpression &key, size_t seed = 0) noexcept;
#   30|   
#   31|-> class Q_CORE_EXPORT QRegularExpression
#   32|   {
#   33|   public:

Error: COMPILER_WARNING (CWE-457): [#def4]
qtbase-everywhere-src-6.10.2/src/corelib/time/qdatetimeparser.cpp: scope_hint: In member function ‘QDateTimeParser::StateNode QDateTimeParser::scanString(const QDateTime&, bool) const’
qtbase-everywhere-src-6.10.2/src/corelib/time/qdatetimeparser.cpp:1325:21: warning[-Wmaybe-uninitialized]: ‘zoneOffset’ may be used uninitialized
# 1325 |             current = &zoneOffset;
#      |             ~~~~~~~~^~~~~~~~~~~~~
qtbase-everywhere-src-6.10.2/src/corelib/time/qdatetimeparser.cpp:1295:13: note: ‘zoneOffset’ declared here
# 1295 |         int zoneOffset; // Needed to serve as *current when setting zone
#      |             ^~~~~~~~~~
# 1323|           switch (sn.type) {
# 1324|           case TimeZoneSection:
# 1325|->             current = &zoneOffset;
# 1326|               if (sect.used > 0) {
# 1327|                   // Synchronize with what findTimeZone() found:

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-203.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameqt6-qtbase-6.11.1-1.fc45
diffbase-store-results-to/tmp/tmplxy2ouz7/qt6-qtbase-6.11.1-1.fc45.tar.xz
diffbase-time-created2026-06-01 16:46:16
diffbase-time-finished2026-06-01 17:14:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmplxy2ouz7/qt6-qtbase-6.11.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmplxy2ouz7/qt6-qtbase-6.11.1-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-203.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameqt6-qtbase-6.10.2-2.fc44
store-results-to/tmp/tmpj0d7g7ky/qt6-qtbase-6.10.2-2.fc44.tar.xz
time-created2026-06-01 16:17:28
time-finished2026-06-01 16:45:45
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpj0d7g7ky/qt6-qtbase-6.10.2-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpj0d7g7ky/qt6-qtbase-6.10.2-2.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9