Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/include/QtCore/qfutureinterface.h:1: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfuture.h:45: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.h:284:37: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
#  284 |     explicit QFutureInterface<void>(State initialState = NoState)
#      |                                     ^~~~~
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.h:284:37: note: remove the ‘< >’
#  282|   {
#  283|   public:
#  284|->     explicit QFutureInterface<void>(State initialState = NoState)
#  285|           : QFutureInterfaceBase(initialState)
#  286|       { }

Error: COMPILER_WARNING: [#def2]
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp: scope_hint: In member function ‘void QClipData::initialize()’
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp:3863:42: warning[-Wcalloc-transposed-args]: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
# 3863 |         m_clipLines = (ClipLine *)calloc(sizeof(ClipLine), clipSpanHeight);
#      |                                          ^~~~~~~~~~~~~~~~
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp:3863:42: note: earlier argument should specify number of elements, later size of each element
# 3861|   
# 3862|       if (!m_clipLines)
# 3863|->         m_clipLines = (ClipLine *)calloc(sizeof(ClipLine), clipSpanHeight);
# 3864|   
# 3865|       Q_CHECK_PTR(m_clipLines);

Error: CLANG_WARNING: [#def3]
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/widgets/graphicsview/qgraphicsanchorlayout_p.h:355:14: warning[core.CallAndMessage]: Called C++ object pointer is null
#  353|   
#  354|       static QGraphicsAnchorPrivate *get(QGraphicsAnchor *q)
#  355|->     { return q->d_func(); }
#  356|   
#  357|       QGraphicsAnchorLayoutPrivate *layoutPrivate;

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-12.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameqt5-qtbase-5.15.14-1.fc41
diffbase-store-results-to/tmp/tmp5biurnu4/qt5-qtbase-5.15.14-1.fc41.tar.xz
diffbase-time-created2024-07-03 18:23:57
diffbase-time-finished2024-07-03 19:13:29
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5biurnu4/qt5-qtbase-5.15.14-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5biurnu4/qt5-qtbase-5.15.14-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-12.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameqt5-qtbase-5.15.13-1.fc40
store-results-to/tmp/tmpeigr7wb9/qt5-qtbase-5.15.13-1.fc40.tar.xz
time-created2024-07-03 17:33:26
time-finished2024-07-03 18:23:22
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpeigr7wb9/qt5-qtbase-5.15.13-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpeigr7wb9/qt5-qtbase-5.15.13-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9