qt5-qtbase-5.15.14-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/cxx17/main.cpp:14:9: warning[deadcode.DeadStores]: Value stored to 'i' during its initialization is never read
#   12|       /* BEGIN TEST: */
#   13|       std::variant<int> v(42);
#   14|->     int i = std::get<int>(v);
#   15|       std::visit([](const auto &) { return 1; }, v);
#   16|       /* END TEST */

Error: CLANG_WARNING: [#def2]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/gssapi/main.cpp:15:5: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#   13|       /* BEGIN TEST: */
#   14|       gss_ctx_id_t ctx;
#   15|->     gss_context_time(nullptr, ctx, nullptr);
#   16|       /* END TEST */
#   17|       return 0;

Error: CLANG_WARNING: [#def3]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/libdl/main.cpp:8:5: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#    6|       /* BEGIN TEST: */
#    7|       dlclose(dlopen(0, 0));
#    8|->     dlsym(RTLD_DEFAULT, 0);
#    9|       dlerror();
#   10|       /* END TEST */

Error: CLANG_WARNING: [#def4]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:107:9: warning[deadcode.DeadStores]: Value stored to 'v1size' during its initialization is never read
#  105|       v1.push_back( 3 );
#  106|       v1.push_back( 4 );
#  107|->     int v1size = v1.size();
#  108|       v1size = 0;
#  109|       int v1capacity = v1.capacity();

Error: CLANG_WARNING: [#def5]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:108:5: warning[deadcode.DeadStores]: Value stored to 'v1size' is never read
#  106|       v1.push_back( 4 );
#  107|       int v1size = v1.size();
#  108|->     v1size = 0;
#  109|       int v1capacity = v1.capacity();
#  110|       v1capacity = 0;

Error: CLANG_WARNING: [#def6]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:109:9: warning[deadcode.DeadStores]: Value stored to 'v1capacity' during its initialization is never read
#  107|       int v1size = v1.size();
#  108|       v1size = 0;
#  109|->     int v1capacity = v1.capacity();
#  110|       v1capacity = 0;
#  111|   

Error: CLANG_WARNING: [#def7]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:110:5: warning[deadcode.DeadStores]: Value stored to 'v1capacity' is never read
#  108|       v1size = 0;
#  109|       int v1capacity = v1.capacity();
#  110|->     v1capacity = 0;
#  111|   
#  112|       std::vector<int>::iterator v1it = std::find( v1.begin(), v1.end(), 99 );

Error: CLANG_WARNING: [#def8]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:113:10: warning[deadcode.DeadStores]: Value stored to 'v1notfound' during its initialization is never read
#  111|   
#  112|       std::vector<int>::iterator v1it = std::find( v1.begin(), v1.end(), 99 );
#  113|->     bool v1notfound = (v1it == v1.end());
#  114|       v1notfound = false;
#  115|   

Error: CLANG_WARNING: [#def9]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:114:5: warning[deadcode.DeadStores]: Value stored to 'v1notfound' is never read
#  112|       std::vector<int>::iterator v1it = std::find( v1.begin(), v1.end(), 99 );
#  113|       bool v1notfound = (v1it == v1.end());
#  114|->     v1notfound = false;
#  115|   
#  116|       v1it = std::find( v1.begin(), v1.end(), 3 );

Error: CLANG_WARNING: [#def10]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:117:10: warning[deadcode.DeadStores]: Value stored to 'v1found' during its initialization is never read
#  115|   
#  116|       v1it = std::find( v1.begin(), v1.end(), 3 );
#  117|->     bool v1found = (v1it != v1.end());
#  118|       v1found = false;
#  119|   

Error: CLANG_WARNING: [#def11]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:118:5: warning[deadcode.DeadStores]: Value stored to 'v1found' is never read
#  116|       v1it = std::find( v1.begin(), v1.end(), 3 );
#  117|       bool v1found = (v1it != v1.end());
#  118|->     v1found = false;
#  119|   
#  120|       std::vector<int> v2;

Error: CLANG_WARNING: [#def12]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:122:9: warning[deadcode.DeadStores]: Value stored to 'v2size' during its initialization is never read
#  120|       std::vector<int> v2;
#  121|       std::copy( v1.begin(), v1it, std::back_inserter( v2 ) );
#  122|->     int v2size = v2.size();
#  123|       v2size = 0;
#  124|   

Error: CLANG_WARNING: [#def13]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:123:5: warning[deadcode.DeadStores]: Value stored to 'v2size' is never read
#  121|       std::copy( v1.begin(), v1it, std::back_inserter( v2 ) );
#  122|       int v2size = v2.size();
#  123|->     v2size = 0;
#  124|   
#  125|       std::map<int, double> m1;

Error: CLANG_WARNING: [#def14]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:130:9: warning[deadcode.DeadStores]: Value stored to 'm1size' during its initialization is never read
#  128|       m1.insert( std::make_pair( 5, 2.0 ) );
#  129|       m1.insert( std::make_pair( 7, 2.0 ) );
#  130|->     int m1size = m1.size();
#  131|       m1size = 0;
#  132|       std::map<int,double>::iterator m1it = m1.begin();

Error: CLANG_WARNING: [#def15]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:131:5: warning[deadcode.DeadStores]: Value stored to 'm1size' is never read
#  129|       m1.insert( std::make_pair( 7, 2.0 ) );
#  130|       int m1size = m1.size();
#  131|->     m1size = 0;
#  132|       std::map<int,double>::iterator m1it = m1.begin();
#  133|       for ( ; m1it != m1.end(); ++m1it ) {

Error: CLANG_WARNING: [#def16]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:134:13: warning[deadcode.DeadStores]: Value stored to 'first' during its initialization is never read
#  132|       std::map<int,double>::iterator m1it = m1.begin();
#  133|       for ( ; m1it != m1.end(); ++m1it ) {
#  134|->         int first = (*m1it).first;
#  135|           first = 0;
#  136|           double second = (*m1it).second;

Error: CLANG_WARNING: [#def17]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:135:9: warning[deadcode.DeadStores]: Value stored to 'first' is never read
#  133|       for ( ; m1it != m1.end(); ++m1it ) {
#  134|           int first = (*m1it).first;
#  135|->         first = 0;
#  136|           double second = (*m1it).second;
#  137|           second = 0.0;

Error: CLANG_WARNING: [#def18]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:136:16: warning[deadcode.DeadStores]: Value stored to 'second' during its initialization is never read
#  134|           int first = (*m1it).first;
#  135|           first = 0;
#  136|->         double second = (*m1it).second;
#  137|           second = 0.0;
#  138|       }

Error: CLANG_WARNING: [#def19]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:137:9: warning[deadcode.DeadStores]: Value stored to 'second' is never read
#  135|           first = 0;
#  136|           double second = (*m1it).second;
#  137|->         second = 0.0;
#  138|       }
#  139|       std::map< int, double > m2( m1 );

Error: CLANG_WARNING: [#def20]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:140:9: warning[deadcode.DeadStores]: Value stored to 'm2size' during its initialization is never read
#  138|       }
#  139|       std::map< int, double > m2( m1 );
#  140|->     int m2size = m2.size();
#  141|       m2size = 0;
#  142|   

Error: CLANG_WARNING: [#def21]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:141:5: warning[deadcode.DeadStores]: Value stored to 'm2size' is never read
#  139|       std::map< int, double > m2( m1 );
#  140|       int m2size = m2.size();
#  141|->     m2size = 0;
#  142|   
#  143|       DummyIterator<int> it1, it2;

Error: CLANG_WARNING: [#def22]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/stl/stltest.cpp:144:9: warning[deadcode.DeadStores]: Value stored to 'n' during its initialization is never read
#  142|   
#  143|       DummyIterator<int> it1, it2;
#  144|->     int n = std::distance(it1, it2);
#  145|       std::advance(it1, 3);
#  146|   

Error: CPPCHECK_WARNING (CWE-758): [#def23]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:130: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  128|       unsigned long long ull;
#  129|       if (_rdrand64_step(&ull))
#  130|->         return 1;
#  131|   #  endif
#  132|   }

Error: CPPCHECK_WARNING (CWE-758): [#def24]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:147: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  145|       unsigned long long ull;
#  146|       if (_rdseed64_step(&ull))
#  147|->         return 1;
#  148|   #  endif
#  149|   }

Error: CLANG_WARNING: [#def25]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:207:5: warning[deadcode.DeadStores]: Value stored to 'f' is never read
#  205|       /* AVX512 Exponential and Reciprocal */
#  206|       __m512 f;
#  207|->     f =  _mm512_exp2a23_round_ps(f, 8);
#  208|   }
#  209|   #endif

Error: CLANG_WARNING: [#def26]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:217:5: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  215|       __mmask16 m = ~1;
#  216|       __m512i i;
#  217|->     i = _mm512_maskz_conflict_epi32(m, i);
#  218|   }
#  219|   #endif

Error: CLANG_WARNING: [#def27]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:237:5: warning[deadcode.DeadStores]: Value stored to 'm' is never read
#  235|       __m512i i;
#  236|       __mmask16 m = ~1;
#  237|->     m = _mm512_movepi32_mask(i);
#  238|   }
#  239|   #endif

Error: CLANG_WARNING: [#def28]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:247:5: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  245|       __m512i i;
#  246|       __mmask16 m = ~1;
#  247|->     i =  _mm512_mask_loadu_epi8(i, m, ptr - 8);
#  248|   }
#  249|   #endif

Error: CLANG_WARNING: [#def29]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/x86_simd/main.cpp:266:5: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  264|       /* AVX512 Integer Fused Multiply-Add */
#  265|       __m512i i;
#  266|->     i = _mm512_madd52lo_epu64(i, i, i);
#  267|   }
#  268|   #endif

Error: CLANG_WARNING: [#def30]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/config.tests/xcb_syslibs/main.cpp:28:44: warning[deadcode.DeadStores]: Value stored to 'formatsReply' during its initialization is never read
#   26|       xcb_render_query_pict_formats_cookie_t formatsCookie =
#   27|           xcb_render_query_pict_formats(c);
#   28|->     xcb_render_query_pict_formats_reply_t *formatsReply =
#   29|           xcb_render_query_pict_formats_reply(c, formatsCookie, &error);
#   30|       /* RENDERUTIL: xcb_renderutil.h include won't compile unless version >= 0.3.9 */

Error: CLANG_WARNING: [#def31]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/corelib/serialization/convert/jsonconverter.cpp:127:9: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  125|       if (doc.isNull())
#  126|           doc = QJsonDocument::fromJson(f->readAll(), &error);
#  127|->     if (error.error) {
#  128|           fprintf(stderr, "Could not parse JSON content: offset %d: %s",
#  129|                   error.offset, qPrintable(error.errorString()));

Error: CLANG_WARNING: [#def32]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/corelib/threads/queuedcustomtype/renderthread.cpp:106:35: warning[core.DivideZero]: Division by zero
#  104|   //![processing the image (finish)]
#  105|               Block block(QRect(x1, y1, x2 - x1 + 1, y2 - y1 + 1),
#  106|->                         QColor(red/n, green/n, blue/n));
#  107|               emit sendBlock(block);
#  108|               if (m_abort)

Error: COMPILER_WARNING (CWE-477): [#def33]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/dbus/complexpingpong/complexping.cpp: scope_hint: In function ‘int main(int, char**)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/dbus/complexpingpong/complexping.cpp:124:15: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#  124 |     pong.start("./complexpong");
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qprocess.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/QProcess:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/dbus/complexpingpong/complexping.cpp:56: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#  122|   
#  123|       QProcess pong;
#  124|->     pong.start("./complexpong");
#  125|   
#  126|       app.exec();

Error: CLANG_WARNING: [#def34]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/vulkan/hellovulkancubes/renderer.cpp:872:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
#  870|       float specularExp = 150.0f;
#  871|       memcpy(p, &specularExp, 4);
#  872|->     p += 4;
#  873|   }
#  874|   

Error: CLANG_WARNING: [#def35]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/animation/stickman/lifecycle.cpp:224:5: warning[core.CallAndMessage]: Called C++ object pointer is null
#  222|   
#  223|       // Loop
#  224|->     previousState->addTransition(previousState, &QState::propertiesAssigned, topLevel->initialState());
#  225|   
#  226|       return topLevel;

Error: CLANG_WARNING: [#def36]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/3rdparty/fbm.c:80:5: warning[deadcode.DeadStores]: Value stored to 'frequency' is never read
#   78|   
#   79|       value = 0.0;            /* initialize vars to proper values */
#   80|->     frequency = 1.0;
#   81|       vec[0]=point.x;
#   82|       vec[1]=point.y;

Error: COMPILER_WARNING: [#def37]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/3rdparty/fbm.c:105:20: warning[-Warray-parameter=]: argument 1 of type ‘float[3]’ with mismatched bound
#  105 | float noise3(float vec[3])
#      |              ~~~~~~^~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/3rdparty/fbm.c:18: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/3rdparty/fbm.h:29:20: note: previously declared as ‘float[]’
#   29 | float noise3(float vec[]);
#      |              ~~~~~~^~~~~
#  103|   
#  104|   
#  105|-> float noise3(float vec[3])
#  106|   {
#  107|       int bx0, bx1, by0, by1, bz0, bz1, b00, b10, b01, b11;

Error: CPPCHECK_WARNING (CWE-682): [#def38]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glbuffers.h:224: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  222|               switch (desc->field) {
#  223|               case VertexDescription::Position:
#  224|->                 glVertexPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  225|                   glEnableClientState(GL_VERTEX_ARRAY);
#  226|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def39]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glbuffers.h:228: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  226|                   break;
#  227|               case VertexDescription::TexCoord:
#  228|->                 glTexCoordPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  229|                   glEnableClientState(GL_TEXTURE_COORD_ARRAY);
#  230|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def40]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glbuffers.h:232: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  230|                   break;
#  231|               case VertexDescription::Normal:
#  232|->                 glNormalPointer(desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  233|                   glEnableClientState(GL_NORMAL_ARRAY);
#  234|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def41]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glbuffers.h:236: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  234|                   break;
#  235|               case VertexDescription::Color:
#  236|->                 glColorPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  237|                   glEnableClientState(GL_COLOR_ARRAY);
#  238|                   break;

Error: COMPILER_WARNING (CWE-477): [#def42]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mouseMoveEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp:906:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  906 |     if (event->buttons() & Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qnamespace.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qobjectdefs.h:48: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qobjectdefs.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qobject.h:46: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qobject.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/animation/qabstractanimation.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qabstractanimation.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/QtCore:6: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtOpenGL/QtOpenGLDepends:3: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtOpenGL/QtOpenGL:3: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glextensions.h:54: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/glbuffers.h:55: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.h:54: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp:51: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  904|       }
#  905|   
#  906|->     if (event->buttons() & Qt::MidButton) {
#  907|           m_trackBalls[2].move(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  908|           event->accept();

Error: COMPILER_WARNING (CWE-477): [#def43]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mousePressEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp:930:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  930 |     if (event->buttons() & Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  928|       }
#  929|   
#  930|->     if (event->buttons() & Qt::MidButton) {
#  931|           m_trackBalls[2].push(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  932|           event->accept();

Error: COMPILER_WARNING (CWE-477): [#def44]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mouseReleaseEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/boxes/scene.cpp:952:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  952 |     if (event->button() == Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  950|       }
#  951|   
#  952|->     if (event->button() == Qt::MidButton) {
#  953|           m_trackBalls[2].release(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  954|           event->accept();

Error: CLANG_WARNING: [#def45]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:246:22: warning[deadcode.DeadStores]: Value stored to 'anchor' during its initialization is never read
#  244|   
#  245|       // vertical anchors
#  246|->     QGraphicsAnchor *anchor = layout->addAnchor(title, Qt::AnchorTop, layout, Qt::AnchorTop);
#  247|       anchor = layout->addAnchor(place, Qt::AnchorTop, title, Qt::AnchorBottom);
#  248|       anchor->setSpacing(12);

Error: CLANG_WARNING: [#def46]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:252:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  250|       anchor->setSpacing(12);
#  251|   
#  252|->     anchor = layout->addAnchor(sunnyWeather, Qt::AnchorTop, title, Qt::AnchorTop);
#  253|       anchor = layout->addAnchor(sunnyWeather, Qt::AnchorBottom, layout, Qt::AnchorVerticalCenter);
#  254|   

Error: CLANG_WARNING: [#def47]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:253:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  251|   
#  252|       anchor = layout->addAnchor(sunnyWeather, Qt::AnchorTop, title, Qt::AnchorTop);
#  253|->     anchor = layout->addAnchor(sunnyWeather, Qt::AnchorBottom, layout, Qt::AnchorVerticalCenter);
#  254|   
#  255|       anchor = layout->addAnchor(tabbar, Qt::AnchorTop, title, Qt::AnchorBottom);

Error: CLANG_WARNING: [#def48]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:263:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  261|   
#  262|       // horizontal anchors
#  263|->     anchor = layout->addAnchor(layout, Qt::AnchorLeft, title, Qt::AnchorLeft);
#  264|       anchor = layout->addAnchor(title, Qt::AnchorRight, layout, Qt::AnchorRight);
#  265|   

Error: CLANG_WARNING: [#def49]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:264:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  262|       // horizontal anchors
#  263|       anchor = layout->addAnchor(layout, Qt::AnchorLeft, title, Qt::AnchorLeft);
#  264|->     anchor = layout->addAnchor(title, Qt::AnchorRight, layout, Qt::AnchorRight);
#  265|   
#  266|       anchor = layout->addAnchor(place, Qt::AnchorLeft, layout, Qt::AnchorLeft);

Error: CLANG_WARNING: [#def50]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:271:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  269|       anchor->setSpacing(35);
#  270|   
#  271|->     anchor = layout->addAnchor(sunnyWeather, Qt::AnchorLeft, place, Qt::AnchorHorizontalCenter);
#  272|       anchor = layout->addAnchor(sunnyWeather, Qt::AnchorRight, layout, Qt::AnchorHorizontalCenter);
#  273|   

Error: CLANG_WARNING: [#def51]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:272:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  270|   
#  271|       anchor = layout->addAnchor(sunnyWeather, Qt::AnchorLeft, place, Qt::AnchorHorizontalCenter);
#  272|->     anchor = layout->addAnchor(sunnyWeather, Qt::AnchorRight, layout, Qt::AnchorHorizontalCenter);
#  273|   
#  274|       anchor = layout->addAnchor(tabbar, Qt::AnchorHorizontalCenter, details, Qt::AnchorHorizontalCenter);

Error: CLANG_WARNING: [#def52]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:274:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  272|       anchor = layout->addAnchor(sunnyWeather, Qt::AnchorRight, layout, Qt::AnchorHorizontalCenter);
#  273|   
#  274|->     anchor = layout->addAnchor(tabbar, Qt::AnchorHorizontalCenter, details, Qt::AnchorHorizontalCenter);
#  275|       anchor = layout->addAnchor(details, Qt::AnchorRight, layout, Qt::AnchorRight);
#  276|   

Error: CLANG_WARNING: [#def53]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/graphicsview/weatheranchorlayout/main.cpp:275:5: warning[deadcode.DeadStores]: Value stored to 'anchor' is never read
#  273|   
#  274|       anchor = layout->addAnchor(tabbar, Qt::AnchorHorizontalCenter, details, Qt::AnchorHorizontalCenter);
#  275|->     anchor = layout->addAnchor(details, Qt::AnchorRight, layout, Qt::AnchorRight);
#  276|   
#  277|       // QGV setup

Error: COMPILER_WARNING: [#def54]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/addressbook/addresswidget.cpp: scope_hint: In member function ‘void AddressWidget::setupTabs()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/addressbook/addresswidget.cpp:162:25: warning[-Wrange-loop-construct]: loop variable ‘str’ of type ‘const QString&’ binds to a temporary constructed from type ‘const char* const’
#  162 |     for (const QString &str : groups) {
#      |                         ^~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/addressbook/addresswidget.cpp:162:25: note: use non-reference type ‘const QString’ to make the copy explicit or ‘const char* const&’ to prevent copying
#  160|       const auto groups = { "ABC", "DEF", "GHI", "JKL", "MNO", "PQR", "STU", "VW", "XYZ" };
#  161|   
#  162|->     for (const QString &str : groups) {
#  163|           const auto regExp = QRegularExpression(QString("^[%1].*").arg(str),
#  164|                                                  QRegularExpression::CaseInsensitiveOption);

Error: COMPILER_WARNING (CWE-477): [#def55]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp: scope_hint: In member function ‘void MainWindow::printImage()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:200:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  200 |     double xscale = printer.pageRect().width() / double(sourceWidth);
#      |                     ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/qprinter.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/QPrinter:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:59: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  198|       painter.save();
#  199|   
#  200|->     double xscale = printer.pageRect().width() / double(sourceWidth);
#  201|       double yscale = printer.pageRect().height() / double(sourceHeight);
#  202|       double scale = qMin(xscale, yscale);

Error: COMPILER_WARNING (CWE-477): [#def56]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:201:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  201 |     double yscale = printer.pageRect().height() / double(sourceHeight);
#      |                     ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  199|   
#  200|       double xscale = printer.pageRect().width() / double(sourceWidth);
#  201|->     double yscale = printer.pageRect().height() / double(sourceHeight);
#  202|       double scale = qMin(xscale, yscale);
#  203|   

Error: COMPILER_WARNING (CWE-477): [#def57]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:204:40: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::paperRect() const’ is deprecated: Use pageLayout().fullRectPixels(resolution()) instead.
#  204 |     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#      |                       ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:257:11: note: declared here
#  257 |     QRect paperRect() const;
#      |           ^~~~~~~~~
#  202|       double scale = qMin(xscale, yscale);
#  203|   
#  204|->     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|                         printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);

Error: COMPILER_WARNING (CWE-477): [#def58]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:204:65: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  204 |     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#      |                                                 ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  202|       double scale = qMin(xscale, yscale);
#  203|   
#  204|->     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|                         printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);

Error: COMPILER_WARNING (CWE-477): [#def59]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:205:40: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::paperRect() const’ is deprecated: Use pageLayout().fullRectPixels(resolution()) instead.
#  205 |                       printer.paperRect().y() + printer.pageRect().height() / 2);
#      |                       ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:257:11: note: declared here
#  257 |     QRect paperRect() const;
#      |           ^~~~~~~~~
#  203|   
#  204|       painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|->                       printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);
#  207|       painter.translate(-sourceWidth / 2, -sourceHeight / 2);

Error: COMPILER_WARNING (CWE-477): [#def60]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/itemviews/pixelator/mainwindow.cpp:205:65: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  205 |                       printer.paperRect().y() + printer.pageRect().height() / 2);
#      |                                                 ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  203|   
#  204|       painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|->                       printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);
#  207|       painter.translate(-sourceWidth / 2, -sourceHeight / 2);

Error: COMPILER_WARNING (CWE-477): [#def61]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp: scope_hint: In member function ‘void MainWindow::printPage(int, QPainter*, QPrinter*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:323:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  323 |     qreal xScale = printer->pageRect().width() / width;
#      |                    ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/qprinter.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/QPrinter:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:55: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  321|       }
#  322|   
#  323|->     qreal xScale = printer->pageRect().width() / width;
#  324|       qreal yScale = printer->pageRect().height() / height;
#  325|       qreal scale = qMin(xScale, yScale);

Error: COMPILER_WARNING (CWE-477): [#def62]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:324:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  324 |     qreal yScale = printer->pageRect().height() / height;
#      |                    ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  322|   
#  323|       qreal xScale = printer->pageRect().width() / width;
#  324|->     qreal yScale = printer->pageRect().height() / height;
#  325|       qreal scale = qMin(xScale, yScale);
#  326|   

Error: COMPILER_WARNING (CWE-477): [#def63]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:327:46: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  327 |     qreal remainingHeight = printer->pageRect().height()/scale - height;
#      |                             ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  325|       qreal scale = qMin(xScale, yScale);
#  326|   
#  327|->     qreal remainingHeight = printer->pageRect().height()/scale - height;
#  328|       qreal spaceHeight = (remainingHeight / 4.0) / (items.count() + 1);
#  329|       qreal interLineHeight = (remainingHeight / 4.0) / (sampleSizes.count() * items.count());

Error: COMPILER_WARNING (CWE-477): [#def64]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:332:41: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  332 |     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#      |                        ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  330|   
#  331|       painter->save();
#  332|->     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#  333|       painter->scale(scale, scale);
#  334|       painter->setBrush(QBrush(Qt::black));

Error: COMPILER_WARNING (CWE-477): [#def65]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/fontsampler/mainwindow.cpp:332:76: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  332 |     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#      |                                                           ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  330|   
#  331|       painter->save();
#  332|->     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#  333|       painter->scale(scale, scale);
#  334|       painter->setBrush(QBrush(Qt::black));

Error: CLANG_WARNING: [#def66]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/painting/shared/arthurwidgets.cpp:226:9: warning[core.NonNullParamChecker]: Forming reference to null pointer
#  224|           painter.end();
#  225|           painter.begin(this);
#  226|->         painter.drawImage(e->rect(), *static_image, e->rect());
#  227|       }
#  228|   #if QT_CONFIG(opengl)

Error: CLANG_WARNING: [#def67]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/tools/undo/mainwindow.cpp:144:23: warning[core.CallAndMessage]: Called C++ object pointer is null
#  142|           actionRemoveShape->setEnabled(false);
#  143|       } else {
#  144|->         Shape shape = doc->shape(shapeName);
#  145|           actionRed->setEnabled(shape.color() != Qt::red);
#  146|           actionGreen->setEnabled(shape.color() != Qt::green);

Error: COMPILER_WARNING (CWE-477): [#def68]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/icons/mainwindow.cpp: scope_hint: In member function ‘QWidget* MainWindow::createIconSizeGroupBox()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/icons/mainwindow.cpp:375:54: warning[-Wdeprecated-declarations]: ‘void QButtonGroup::buttonToggled(int, bool)’ is deprecated: Use QButtonGroup::idToggled(int, bool) instead
#  375 |     connect(sizeButtonGroup, QOverload<int, bool>::of(&QButtonGroup::buttonToggled),
#      |                              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/qbuttongroup.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/QButtonGroup:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/icons/mainwindow.cpp:57: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qbuttongroup.h:96:10: note: declared here
#   96 |     void buttonToggled(int, bool);
#      |          ^~~~~~~~~~~~~
#  373|       sizeButtonGroup->setExclusive(true);
#  374|   
#  375|->     connect(sizeButtonGroup, QOverload<int, bool>::of(&QButtonGroup::buttonToggled),
#  376|               this, &MainWindow::changeSize);
#  377|   

Error: COMPILER_WARNING (CWE-477): [#def69]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/tooltips/sortingbox.cpp: scope_hint: In member function ‘virtual void SortingBox::resizeEvent(QResizeEvent*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/tooltips/sortingbox.cpp:132:47: warning[-Wdeprecated-declarations]: ‘QStyle::PM_DefaultTopLevelMargin’ is deprecated
#  132 |     int margin = style()->pixelMetric(QStyle::PM_DefaultTopLevelMargin);
#      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/qstyle.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/QStyle:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/tooltips/sortingbox.cpp:57: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qstyle.h:541:9: note: declared here
#  541 |         PM_DefaultTopLevelMargin Q_DECL_ENUMERATOR_DEPRECATED,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
#  130|   void SortingBox::resizeEvent(QResizeEvent * /* event */)
#  131|   {
#  132|->     int margin = style()->pixelMetric(QStyle::PM_DefaultTopLevelMargin);
#  133|       int x = width() - margin;
#  134|       int y = height() - margin;

Error: COMPILER_WARNING (CWE-477): [#def70]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/tooltips/sortingbox.cpp: scope_hint: In member function ‘int SortingBox::updateButtonGeometry(QToolButton*, int, int)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/widgets/tooltips/sortingbox.cpp:249:43: warning[-Wdeprecated-declarations]: ‘QStyle::PM_DefaultLayoutSpacing’ is deprecated
#  249 |            - style()->pixelMetric(QStyle::PM_DefaultLayoutSpacing);
#      |                                           ^~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qstyle.h:543:9: note: declared here
#  543 |         PM_DefaultLayoutSpacing Q_DECL_ENUMERATOR_DEPRECATED,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~
#  247|   
#  248|       return y - size.rheight()
#  249|->            - style()->pixelMetric(QStyle::PM_DefaultLayoutSpacing);
#  250|   }
#  251|   //! [20]

Error: CLANG_WARNING: [#def71]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/xml/streambookmarks/xbelreader.cpp:131:25: warning[core.CallAndMessage]: Called C++ object pointer is null
#  129|   
#  130|       QTreeWidgetItem *separator = createChildItem(item);
#  131|->     separator->setFlags(item->flags() & ~Qt::ItemIsSelectable);
#  132|       separator->setText(0, QString(30, 0xB7));
#  133|       xml.skipCurrentElement();

Error: CLANG_WARNING: [#def72]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/qmake/library/qmakebuiltins.cpp:920:45: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  918|           if (args.count() > 2 && !args.at(2).isEmpty()) {
#  919|               m_valuemapStack.top()[args.at(2).toKey()] =
#  920|->                     ProStringList(ProString(QString::number(exitCode)));
#  921|           }
#  922|           if (lines) {

Error: CLANG_WARNING: [#def73]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/qmake/library/qmakeevaluator.cpp:584:42: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  582|           case TokForLoop:
#  583|               if (m_cumulative || okey != or_op) {
#  584|->                 const ProKey &variable = pro->getHashStr(tokPtr);
#  585|                   uint exprLen = getBlockLen(tokPtr);
#  586|                   const ushort *exprPtr = tokPtr;

Error: CLANG_WARNING: [#def74]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/qmake/library/qmakeparser.cpp:608:29: warning[deadcode.DeadStores]: Value stored to 'term' is never read
#  606|                               parens = 0;
#  607|                               quote = 0;
#  608|->                             term = 0;
#  609|                               argc = 1;
#  610|                               context = CtxArgs;

Error: CLANG_WARNING: [#def75]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/qmake/option.cpp:455:23: warning[core.NullDereference]: Array access (from variable 'argv') results in a null pointer dereference
#  453|   #ifndef QT_BUILD_QMAKE_LIBRARY
#  454|               if(Option::mkfile::project_files.isEmpty()) {
#  455|->                 usage(argv[0]);
#  456|                   return Option::QMAKE_CMDLINE_ERROR;
#  457|               }

Error: CPPCHECK_WARNING: [#def76]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def77]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def78]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def79]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:144:3: warning[deadcode.DeadStores]: Value stored to 'cur_offset' is never read
#  142|     FORGET_Frame();
#  143|   
#  144|->   cur_offset = FILE_Pos();
#  145|     if ( FILE_Seek( new_offset ) ||
#  146|          ( error = _HB_OPEN_Load_LookupList( &gpos->LookupList,

Error: CLANG_WARNING: [#def80]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2182:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2180|     {
# 2181|       gpi->last     = buffer->in_pos;
# 2182|->     gpi->anchor_x = exit_x;
# 2183|       gpi->anchor_y = exit_y;
# 2184|     }

Error: CLANG_WARNING: [#def81]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2362:3: warning[deadcode.DeadStores]: Value stored to 'cur_offset' is never read
# 2360|     FORGET_Frame();
# 2361|   
# 2362|->   cur_offset = FILE_Pos();
# 2363|     if ( FILE_Seek( new_offset ) ||
# 2364|          ( error = Load_BaseArray( &mbp->BaseArray, mbp->ClassCount,

Error: CLANG_WARNING: [#def82]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2497:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 2495|     o = POSITION( buffer->in_pos );
# 2496|   
# 2497|->   o->x_pos     = x_base_value - x_mark_value;
# 2498|     o->y_pos     = y_base_value - y_mark_value;
# 2499|     o->x_advance = 0;

Error: CLANG_WARNING: [#def83]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2497:31: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
# 2495|     o = POSITION( buffer->in_pos );
# 2496|   
# 2497|->   o->x_pos     = x_base_value - x_mark_value;
# 2498|     o->y_pos     = y_base_value - y_mark_value;
# 2499|     o->x_advance = 0;

Error: CLANG_WARNING: [#def84]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2769:3: warning[deadcode.DeadStores]: Value stored to 'cur_offset' is never read
# 2767|     FORGET_Frame();
# 2768|   
# 2769|->   cur_offset = FILE_Pos();
# 2770|     if ( FILE_Seek( new_offset ) ||
# 2771|          ( error = Load_LigatureArray( &mlp->LigatureArray, mlp->ClassCount,

Error: CLANG_WARNING: [#def85]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2923:30: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 2921|     o = POSITION( buffer->in_pos );
# 2922|   
# 2923|->   o->x_pos     = x_lig_value - x_mark_value;
# 2924|     o->y_pos     = y_lig_value - y_mark_value;
# 2925|     o->x_advance = 0;

Error: CLANG_WARNING: [#def86]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:2923:30: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
# 2921|     o = POSITION( buffer->in_pos );
# 2922|   
# 2923|->   o->x_pos     = x_lig_value - x_mark_value;
# 2924|     o->y_pos     = y_lig_value - y_mark_value;
# 2925|     o->x_advance = 0;

Error: CLANG_WARNING: [#def87]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:3096:3: warning[deadcode.DeadStores]: Value stored to 'cur_offset' is never read
# 3094|     FORGET_Frame();
# 3095|   
# 3096|->   cur_offset = FILE_Pos();
# 3097|     if ( FILE_Seek( new_offset ) ||
# 3098|          ( error = Load_Mark2Array( &mmp->Mark2Array, mmp->ClassCount,

Error: CLANG_WARNING: [#def88]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:3236:32: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 3234|     o = POSITION( buffer->in_pos );
# 3235|   
# 3236|->   o->x_pos     = x_mark2_value - x_mark1_value;
# 3237|     o->y_pos     = y_mark2_value - y_mark1_value;
# 3238|     o->x_advance = 0;

Error: CLANG_WARNING: [#def89]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c:3236:32: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
# 3234|     o = POSITION( buffer->in_pos );
# 3235|   
# 3236|->   o->x_pos     = x_mark2_value - x_mark1_value;
# 3237|     o->y_pos     = y_mark2_value - y_mark1_value;
# 3238|     o->x_advance = 0;

Error: CPPCHECK_WARNING: [#def90]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gsub.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def91]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-gsub.c:108:3: warning[deadcode.DeadStores]: Value stored to 'cur_offset' is never read
#  106|     FORGET_Frame();
#  107|   
#  108|->   cur_offset = FILE_Pos();
#  109|     if ( FILE_Seek( new_offset ) ||
#  110|          ( error = _HB_OPEN_Load_LookupList( &gsub->LookupList,

Error: CPPCHECK_WARNING (CWE-562): [#def92]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c:194: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  192|           for (i = 0; i < len; ++i)
#  193|               logClusters[i] = i;
#  194|->         item->log_clusters = logClusters;
#  195|   
#  196|           HB_OpenTypeShape(item, /*properties*/0);

Error: CPPCHECK_WARNING (CWE-401): [#def93]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-impl.c:67: error[memleak]: Memory leak: block2
#   65|   
#   66|       *perror = error;
#   67|->     return block;
#   68|   }
#   69|   

Error: CPPCHECK_WARNING (CWE-457): [#def94]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c:578: warning[uninitvar]: Uninitialized variable: where
#  576|           }
#  577|   
#  578|->         HB_OpenTypeShape(item, where);
#  579|           if (!HB_OpenTypePosition(item, availableGlyphs, /*doLogClusters*/FALSE))
#  580|               return FALSE;

Error: CPPCHECK_WARNING (CWE-457): [#def95]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c:447: warning[uninitvar]: Uninitialized variable: where
#  445|           }
#  446|   
#  447|->         HB_OpenTypeShape(item, where);
#  448|           if (!HB_OpenTypePosition(item, availableGlyphs, /*doLogClusters*/FALSE))
#  449|               return FALSE;

Error: CPPCHECK_WARNING: [#def96]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-open.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def97]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def98]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp:25: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:723:5: warning[deadcode.DeadStores]: Value stored to 'error' is never read
#  721|   
#  722|       gdefStream = getTableStream(font, tableFunc, TTAG_GDEF);
#  723|->     error = HB_Err_Not_Covered;
#  724|       if (!gdefStream || (error = HB_Load_GDEF_Table(gdefStream, &face->gdef))) {
#  725|           //DEBUG("error loading gdef table: %d", error);

Error: CLANG_WARNING: [#def99]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:724:25: warning[deadcode.DeadStores]: Although the value stored to 'error' is used in the enclosing expression, the value is never actually read from 'error'
#  722|       gdefStream = getTableStream(font, tableFunc, TTAG_GDEF);
#  723|       error = HB_Err_Not_Covered;
#  724|->     if (!gdefStream || (error = HB_Load_GDEF_Table(gdefStream, &face->gdef))) {
#  725|           //DEBUG("error loading gdef table: %d", error);
#  726|           face->gdef = 0;

Error: CLANG_WARNING: [#def100]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:743:5: warning[deadcode.DeadStores]: Value stored to 'error' is never read
#  741|   
#  742|       stream = getTableStream(font, tableFunc, TTAG_GPOS);
#  743|->     error = HB_Err_Not_Covered;
#  744|       if (!stream || (error = HB_Load_GPOS_Table(stream, &face->gpos, face->gdef, gdefStream))) {
#  745|           face->gpos = 0;

Error: CLANG_WARNING: [#def101]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:744:21: warning[deadcode.DeadStores]: Although the value stored to 'error' is used in the enclosing expression, the value is never actually read from 'error'
#  742|       stream = getTableStream(font, tableFunc, TTAG_GPOS);
#  743|       error = HB_Err_Not_Covered;
#  744|->     if (!stream || (error = HB_Load_GPOS_Table(stream, &face->gpos, face->gdef, gdefStream))) {
#  745|           face->gpos = 0;
#  746|           DEBUG("error loading gpos table: %d", error);

Error: CPPCHECK_WARNING: [#def102]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def103]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_merge_lines’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:890:73: warning[-Wunused-parameter]: unused parameter ‘n_lines’
#  890 | md_merge_lines(MD_CTX* ctx, OFF beg, OFF end, const MD_LINE* lines, int n_lines,
#      |                                                                     ~~~~^~~~~~~
#  888|    */
#  889|   static void
#  890|-> md_merge_lines(MD_CTX* ctx, OFF beg, OFF end, const MD_LINE* lines, int n_lines,
#  891|                  CHAR line_break_replacement_char, CHAR* buffer, SZ* p_size)
#  892|   {

Error: COMPILER_WARNING (CWE-563): [#def104]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_hex_entity_contents’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1235:35: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1235 | md_is_hex_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                           ~~~~~~~~^~~
# 1233|   
# 1234|   static int
# 1235|-> md_is_hex_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1236|   {
# 1237|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def105]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_dec_entity_contents’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1251:35: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1251 | md_is_dec_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                           ~~~~~~~~^~~
# 1249|   
# 1250|   static int
# 1251|-> md_is_dec_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1252|   {
# 1253|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def106]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_named_entity_contents’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1267:37: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1267 | md_is_named_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                             ~~~~~~~~^~~
# 1265|   
# 1266|   static int
# 1267|-> md_is_named_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1268|   {
# 1269|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def107]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_free_attribute’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1373:27: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1373 | md_free_attribute(MD_CTX* ctx, MD_ATTRIBUTE_BUILD* build)
#      |                   ~~~~~~~~^~~
# 1371|   
# 1372|   static void
# 1373|-> md_free_attribute(MD_CTX* ctx, MD_ATTRIBUTE_BUILD* build)
# 1374|   {
# 1375|       if(build->substr_alloc > 0) {

Error: CLANG_WARNING: [#def108]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1375:28: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>' is a garbage value
# 1373|   md_free_attribute(MD_CTX* ctx, MD_ATTRIBUTE_BUILD* build)
# 1374|   {
# 1375|->     if(build->substr_alloc > 0) {
# 1376|           free(build->text);
# 1377|           free(build->substr_types);

Error: CLANG_WARNING: [#def109]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1483:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1481|   
# 1482|       for(i = 0; i < n; i++) {
# 1483|->         hash ^= buf[i];
# 1484|           hash *= MD_FNV1A_PRIME;
# 1485|       }

Error: COMPILER_WARNING (CWE-195): [#def110]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_link_label_cmp’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1590:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘MD_OFFSET’ {aka ‘unsigned int’} and ‘int’
# 1590 |         if(a_fi_off >= a_fi.n_codepoints) {
#      |                     ^~
# 1588|       while(!a_reached_end  ||  !b_reached_end) {
# 1589|           /* If needed, load fold info for next char. */
# 1590|->         if(a_fi_off >= a_fi.n_codepoints) {
# 1591|               a_fi_off = 0;
# 1592|               a_off = md_link_label_cmp_load_fold_info(a_label, a_off, a_size, &a_fi);

Error: COMPILER_WARNING (CWE-195): [#def111]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:1595:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘MD_OFFSET’ {aka ‘unsigned int’} and ‘int’
# 1595 |         if(b_fi_off >= b_fi.n_codepoints) {
#      |                     ^~
# 1593|               a_reached_end = (a_off >= a_size);
# 1594|           }
# 1595|->         if(b_fi_off >= b_fi.n_codepoints) {
# 1596|               b_fi_off = 0;
# 1597|               b_off = md_link_label_cmp_load_fold_info(b_label, b_off, b_size, &b_fi);

Error: CLANG_WARNING: [#def112]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:2539:38: warning[core.NullDereference]: Dereference of null pointer
# 2537|   {
# 2538|       if(chain->tail >= 0)
# 2539|->         ctx->marks[chain->tail].next = mark_index;
# 2540|       else
# 2541|           chain->head = mark_index;

Error: COMPILER_WARNING: [#def113]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_rollback’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:2668:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 2668 |                 if((mark_flags & MD_MARK_CLOSER)  &&  mark->prev > opener_index) {
#      |                   ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:2675:13: note: here
# 2675 |             default:
#      |             ^~~~~~~
# 2666|           switch(how) {
# 2667|               case MD_ROLLBACK_CROSSING:
# 2668|->                 if((mark_flags & MD_MARK_CLOSER)  &&  mark->prev > opener_index) {
# 2669|                       /* If we are closer with opener INSIDE the range, there may
# 2670|                        * not be any other crosser inside the subrange. */

Error: CLANG_WARNING: [#def114]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:2774:5: warning[deadcode.DeadStores]: Value stored to 'closer_end' is never read
# 2772|   
# 2773|       closer_beg = opener_end;
# 2774|->     closer_end = opener_end;
# 2775|   
# 2776|       /* Find closer mark. */

Error: COMPILER_WARNING (CWE-563): [#def115]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_analyze_marks’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:3945:46: warning[-Wunused-parameter]: unused parameter ‘lines’
# 3945 | md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
#      |                               ~~~~~~~~~~~~~~~^~~~~
# 3943|   
# 3944|   static inline void
# 3945|-> md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
# 3946|                    int mark_beg, int mark_end, const CHAR* mark_chars)
# 3947|   {

Error: COMPILER_WARNING (CWE-563): [#def116]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:3945:57: warning[-Wunused-parameter]: unused parameter ‘n_lines’
# 3945 | md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
#      |                                                     ~~~~^~~~~~~
# 3943|   
# 3944|   static inline void
# 3945|-> md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
# 3946|                    int mark_beg, int mark_end, const CHAR* mark_chars)
# 3947|   {

Error: COMPILER_WARNING: [#def117]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_process_inlines’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4153:23: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 4153 |                     if(ctx->parser.flags & MD_FLAG_UNDERLINE) {
#      |                       ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4169:17: note: here
# 4169 |                 case '*':       /* Emphasis, strong emphasis. */
#      |                 ^~~~
# 4151|   
# 4152|                   case '_':       /* Underline (or emphasis if we fall through). */
# 4153|->                     if(ctx->parser.flags & MD_FLAG_UNDERLINE) {
# 4154|                           if(mark->flags & MD_MARK_OPENER) {
# 4155|                               while(off < mark->end) {

Error: COMPILER_WARNING: [#def118]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4257:23: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 4257 |                     if(!(mark->flags & MD_MARK_AUTOLINK)) {
#      |                       ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4267:17: note: here
# 4267 |                 case '@':       /* Permissive e-mail autolink. */
#      |                 ^~~~
# 4255|                   case '<':
# 4256|                   case '>':       /* Autolink or raw HTML. */
# 4257|->                     if(!(mark->flags & MD_MARK_AUTOLINK)) {
# 4258|                           /* Raw HTML. */
# 4259|                           if(mark->flags & MD_MARK_OPENER)

Error: CLANG_WARNING: [#def119]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4477:22: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 4475|       for(i = 0; i < j-1  &&  k < col_count; i++) {
# 4476|           if(pipe_offs[i] < pipe_offs[i+1]-1)
# 4477|->             MD_CHECK(md_process_table_cell(ctx, cell_type, align[k++], pipe_offs[i], pipe_offs[i+1]-1));
# 4478|       }
# 4479|       /* Make sure we call enough table cells even if the current table contains

Error: CLANG_WARNING: [#def120]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:4482:18: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 4480|        * too few of them. */
# 4481|       while(k < col_count)
# 4482|->         MD_CHECK(md_process_table_cell(ctx, cell_type, align[k++], 0, 0));
# 4483|       MD_LEAVE_BLOCK(MD_BLOCK_TR, NULL);
# 4484|   

Error: COMPILER_WARNING: [#def121]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_enter_child_containers’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:5534:33: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 5534 |                 is_ordered_list = TRUE;
#      |                                 ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:5537:13: note: here
# 5537 |             case _T('-'):
#      |             ^~~~
# 5532|               case _T(')'):
# 5533|               case _T('.'):
# 5534|->                 is_ordered_list = TRUE;
# 5535|                   /* Pass through */
# 5536|   

Error: COMPILER_WARNING: [#def122]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_leave_child_containers’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:5580:33: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 5580 |                 is_ordered_list = TRUE;
#      |                                 ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:5583:13: note: here
# 5583 |             case _T('-'):
#      |             ^~~~
# 5578|               case _T(')'):
# 5579|               case _T('.'):
# 5580|->                 is_ordered_list = TRUE;
# 5581|                   /* Pass through */
# 5582|   

Error: COMPILER_WARNING (CWE-909): [#def123]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c: scope_hint: At top level
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:5686:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘beg’ of ‘MD_LINE_ANALYSIS’ {aka ‘const struct MD_LINE_ANALYSIS_tag’}
# 5686 | static const MD_LINE_ANALYSIS md_dummy_blank_line = { MD_LINE_BLANK, 0 };
#      | ^~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/md4c/md4c.c:214:9: note: ‘beg’ declared here
#  214 |     OFF beg;
#      |         ^~~
# 5684|   }
# 5685|   
# 5686|-> static const MD_LINE_ANALYSIS md_dummy_blank_line = { MD_LINE_BLANK, 0 };
# 5687|   
# 5688|   /* Analyze type of the line and find some its properties. This serves as a

Error: CLANG_WARNING: [#def124]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qcryptographichash.cpp:47: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/sha1/sha1.cpp:188:5: warning[deadcode.DeadStores]: Value stored to 'a' is never read
#  186|       // Wipe variables
#  187|   #ifdef SHA1_WIPE_VARIABLES
#  188|->     a = b = c = d = e = 0;
#  189|       memset(chunkBuffer, 0, 64);
#  190|   #endif

Error: CLANG_WARNING: [#def125]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/sha1/sha1.cpp:188:9: warning[deadcode.DeadStores]: Although the value stored to 'b' is used in the enclosing expression, the value is never actually read from 'b'
#  186|       // Wipe variables
#  187|   #ifdef SHA1_WIPE_VARIABLES
#  188|->     a = b = c = d = e = 0;
#  189|       memset(chunkBuffer, 0, 64);
#  190|   #endif

Error: CLANG_WARNING: [#def126]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/sha1/sha1.cpp:188:13: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
#  186|       // Wipe variables
#  187|   #ifdef SHA1_WIPE_VARIABLES
#  188|->     a = b = c = d = e = 0;
#  189|       memset(chunkBuffer, 0, 64);
#  190|   #endif

Error: CLANG_WARNING: [#def127]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/sha1/sha1.cpp:188:17: warning[deadcode.DeadStores]: Although the value stored to 'd' is used in the enclosing expression, the value is never actually read from 'd'
#  186|       // Wipe variables
#  187|   #ifdef SHA1_WIPE_VARIABLES
#  188|->     a = b = c = d = e = 0;
#  189|       memset(chunkBuffer, 0, 64);
#  190|   #endif

Error: CLANG_WARNING: [#def128]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/sha1/sha1.cpp:188:21: warning[deadcode.DeadStores]: Although the value stored to 'e' is used in the enclosing expression, the value is never actually read from 'e'
#  186|       // Wipe variables
#  187|   #ifdef SHA1_WIPE_VARIABLES
#  188|->     a = b = c = d = e = 0;
#  189|       memset(chunkBuffer, 0, 64);
#  190|   #endif

Error: CLANG_WARNING: [#def129]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/moc/generator.cpp:1702: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/3rdparty/tinycbor/src/cborencoder.c:493:25: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  491|   {
#  492|       CborError err;
#  493|->     container->data.ptr = encoder->data.ptr;
#  494|       container->end = encoder->end;
#  495|       saturated_decrement(encoder);

Error: CLANG_WARNING: [#def130]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/animation/qsequentialanimationgroup.cpp:510:12: warning[core.CallAndMessage]: Called C++ object pointer is null
#  508|   
#  509|       if (currentAnimationIndex == index
#  510|->         && currentAnimation->currentTime() == 0 && currentAnimation->currentLoop() == 0) {
#  511|               //in this case we simply insert an animation before the current one has actually started
#  512|               setCurrentAnimation(index);

Error: CLANG_WARNING: [#def131]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qicucodec.cpp:504:36: warning[core.CallAndMessage]: Called C++ object pointer is null
#  502|       }
#  503|   
#  504|->     for (TextCodecListConstIt it = globalData->allCodecs.constBegin(), cend = globalData->allCodecs.constEnd(); it != cend; ++it) {
#  505|           QTextCodec *cursor = *it;
#  506|           if (qTextCodecNameMatch(cursor->name(), standardName)) {

Error: CLANG_WARNING: [#def132]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:312:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  310|   
#  311|       (void)new QUtf16Codec;
#  312|->     (void)new QUtf16BECodec;
#  313|       (void)new QUtf16LECodec;
#  314|       (void)new QUtf32Codec;

Error: CLANG_WARNING: [#def133]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:313:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  311|       (void)new QUtf16Codec;
#  312|       (void)new QUtf16BECodec;
#  313|->     (void)new QUtf16LECodec;
#  314|       (void)new QUtf32Codec;
#  315|       (void)new QUtf32BECodec;

Error: CLANG_WARNING: [#def134]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:314:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  312|       (void)new QUtf16BECodec;
#  313|       (void)new QUtf16LECodec;
#  314|->     (void)new QUtf32Codec;
#  315|       (void)new QUtf32BECodec;
#  316|       (void)new QUtf32LECodec;

Error: CLANG_WARNING: [#def135]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:315:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  313|       (void)new QUtf16LECodec;
#  314|       (void)new QUtf32Codec;
#  315|->     (void)new QUtf32BECodec;
#  316|       (void)new QUtf32LECodec;
#  317|       (void)new QLatin15Codec;

Error: CLANG_WARNING: [#def136]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:316:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  314|       (void)new QUtf32Codec;
#  315|       (void)new QUtf32BECodec;
#  316|->     (void)new QUtf32LECodec;
#  317|       (void)new QLatin15Codec;
#  318|       (void)new QLatin1Codec;

Error: CLANG_WARNING: [#def137]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:317:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  315|       (void)new QUtf32BECodec;
#  316|       (void)new QUtf32LECodec;
#  317|->     (void)new QLatin15Codec;
#  318|       (void)new QLatin1Codec;
#  319|       (void)new QUtf8Codec;

Error: CLANG_WARNING: [#def138]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:318:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  316|       (void)new QUtf32LECodec;
#  317|       (void)new QLatin15Codec;
#  318|->     (void)new QLatin1Codec;
#  319|       (void)new QUtf8Codec;
#  320|   }

Error: CLANG_WARNING: [#def139]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:319:15: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  317|       (void)new QLatin15Codec;
#  318|       (void)new QLatin1Codec;
#  319|->     (void)new QUtf8Codec;
#  320|   }
#  321|   #else

Error: CLANG_WARNING: [#def140]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/codecs/qtextcodec.cpp:320:1: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  318|       (void)new QLatin1Codec;
#  319|       (void)new QUtf8Codec;
#  320|-> }
#  321|   #else
#  322|   static void setup() {}

Error: CLANG_WARNING: [#def141]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qbinaryjsonarray.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qbinaryjson_p.h:56: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/5.15.14/QtCore/private/qendian_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qendian_p.h:227:26: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  225|       QSpecialIntegerAccessor &operator=(Type t)
#  226|       {
#  227|->         UnsignedType i = S::fromSpecial(storage->val);
#  228|           i &= ~Const::mask();
#  229|           i |= (UnsignedType(t) << pos) & Const::mask();

Error: COMPILER_WARNING (CWE-1164): [#def142]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qlibraryinfo.cpp:657:16: warning[-Wunused-function]: ‘QString getExtPrefixFromHostBinDir()’ defined but not used
#  657 | static QString getExtPrefixFromHostBinDir()
#      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  655|   }
#  656|   
#  657|-> static QString getExtPrefixFromHostBinDir()
#  658|   {
#  659|       return getPrefixFromHostBinDir(QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH);

Error: COMPILER_WARNING (CWE-563): [#def143]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qlibraryinfo.cpp: scope_hint: In static member function ‘static QString QLibraryInfo::rawLocation(LibraryLocation, PathGroup)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qlibraryinfo.cpp:713:10: warning[-Wunused-but-set-variable]: variable ‘fromConf’ set but not used
#  713 |     bool fromConf = false;
#      |          ^~~~~~~~
#  711|   #endif // QT_BUILD_QMAKE, started inside location !
#  712|       QString ret;
#  713|->     bool fromConf = false;
#  714|   #if QT_CONFIG(settings)
#  715|   #ifdef QT_BUILD_QMAKE

Error: CLANG_WARNING: [#def144]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qlibraryinfo.cpp:733:9: warning[deadcode.DeadStores]: Value stored to 'fromConf' is never read
#  731|   #endif
#  732|       {
#  733|->         fromConf = true;
#  734|   
#  735|           QString key;

Error: CLANG_WARNING: [#def145]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qlibraryinfo.cpp:766:21: warning[deadcode.DeadStores]: Value stored to 'fromConf' is never read
#  764|                                           QLatin1String(qtConfEntries[PrefixPath].value)).toString();
#  765|                   else if (loc == TargetSpecPath || loc == HostSpecPath || loc == SysrootifyPrefixPath)
#  766|->                     fromConf = false;
#  767|                   // The last case here is SysrootPath, which can be legitimately empty.
#  768|                   // All other keys have non-empty fallbacks to start with.

Error: COMPILER_WARNING: [#def146]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qmalloc.cpp: scope_hint: In function ‘void* qReallocAligned(void*, size_t, size_t, size_t)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qmalloc.cpp:115:18: warning[-Wuse-after-free]: pointer ‘actualptr’ may be used after ‘void* realloc(void*, size_t)’
#  115 |         qptrdiff oldoffset = static_cast<char *>(oldptr) - static_cast<char *>(actualptr);
#      |                  ^~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qmalloc.cpp:106:25: note: call to ‘void* realloc(void*, size_t)’ here
#  106 |     void *real = realloc(actualptr, newsize + alignment);
#      |                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  113|   
#  114|       if (oldptr) {
#  115|->         qptrdiff oldoffset = static_cast<char *>(oldptr) - static_cast<char *>(actualptr);
#  116|           qptrdiff newoffset = reinterpret_cast<char *>(faked_ptr) - static_cast<char *>(real);
#  117|           if (oldoffset != newoffset)

Error: CLANG_WARNING: [#def147]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qdir.cpp:1017:17: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 1015|               bool ok;
# 1016|               newPath = qt_cleanPath(newPath, &ok);
# 1017|->             if (!ok)
# 1018|                   return false;
# 1019|               /*

Error: CLANG_WARNING: [#def148]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qdir.cpp:1649:14: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field 'd'
# 1647|               }
# 1648|           }
# 1649|->         if (!ok)
# 1650|               success = false;
# 1651|       }

Error: CLANG_WARNING: [#def149]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfileinfo.cpp:733:9: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field 'd'
#  731|       // Expensive fallback to non-QFileSystemEngine implementation
#  732|       if (engine)
#  733|->         return QFileInfo(new QFileInfoPrivate(entry, data, std::move(engine))).exists();
#  734|   
#  735|       QFileSystemEngine::fillMetaData(entry, data, QFileSystemMetaData::ExistsAttribute);

Error: CLANG_WARNING: [#def150]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfilesystemengine_unix.cpp:1103:13: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 1101|               // done (hopefully we won't get any errors, because there's nothing
# 1102|               // we can do about them)
# 1103|->             n = ftruncate(dstfd, 0);
# 1104|               n = lseek(srcfd, 0, SEEK_SET);
# 1105|               n = lseek(dstfd, 0, SEEK_SET);

Error: CLANG_WARNING: [#def151]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfilesystemengine_unix.cpp:1104:13: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 1102|               // we can do about them)
# 1103|               n = ftruncate(dstfd, 0);
# 1104|->             n = lseek(srcfd, 0, SEEK_SET);
# 1105|               n = lseek(dstfd, 0, SEEK_SET);
# 1106|               return false;

Error: CLANG_WARNING: [#def152]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfilesystemengine_unix.cpp:1105:13: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 1103|               n = ftruncate(dstfd, 0);
# 1104|               n = lseek(srcfd, 0, SEEK_SET);
# 1105|->             n = lseek(dstfd, 0, SEEK_SET);
# 1106|               return false;
# 1107|           }

Error: CLANG_WARNING: [#def153]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfsfileengine.cpp:793:36: warning[unix.Errno]: An undefined value may be read from 'errno'
#  791|                   result = fwrite(data + writtenBytes, 1, size_t(len - writtenBytes), fh);
#  792|                   writtenBytes += result;
#  793|->             } while (result == 0 ? errno == EINTR : writtenBytes < len);
#  794|   
#  795|           } else if (fd != -1) {

Error: CLANG_WARNING: [#def154]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qfsfileengine.cpp:815:21: warning[unix.Errno]: An undefined value may be read from 'errno'
#  813|       if (len &&  writtenBytes == 0) {
#  814|           writtenBytes = -1;
#  815|->         q->setError(errno == ENOSPC ? QFile::ResourceError : QFile::WriteError, QSystemError::stdString());
#  816|       } else {
#  817|           // reset the cached size, if any

Error: CLANG_WARNING: [#def155]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qresource.cpp:955:29: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  953|   
#  954|                               const qint16 language = qFromBigEndian<qint16>(tree + offset);
#  955|->                             offset += 2;
#  956|   #ifdef DEBUG_RESOURCE_MATCH
#  957|                               qDebug() << "    " << "LOCALE" << country << language;

Error: CLANG_WARNING: [#def156]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qresource.cpp:1176:13: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
# 1174|           if (version >= 3) {
# 1175|               file_flags = qFromBigEndian<qint32>(b + offset);
# 1176|->             offset += 4;
# 1177|           }
# 1178|   

Error: CLANG_WARNING: [#def157]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qresource.cpp:1283:13: warning[deadcode.DeadStores]: Value stored to 'data_len' is never read
# 1281|               delete [] data;
# 1282|               data = nullptr;
# 1283|->             data_len = 0;
# 1284|               return false;
# 1285|           }

Error: CLANG_WARNING: [#def158]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qtldurl.cpp:88:27: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value due to array index out of bounds
#   86|   
#   87|       // Find which chunk contains the tldGroupOffset
#   88|->     while (tldGroupOffset >= tldChunks[chunk]) {
#   89|           chunkIndex -= tldChunks[chunk];
#   90|           offset += tldChunks[chunk];

Error: CLANG_WARNING: [#def159]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qmetatype.cpp:1654:9: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
# 1652|       QMetaType info(type);
# 1653|       if (int size = info.sizeOf())
# 1654|->         return info.construct(operator new(size), copy);
# 1655|       return nullptr;
# 1656|   }

Error: CLANG_WARNING: [#def160]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qmetatype.cpp:2303:24: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2301|   QMetaType &QMetaType::operator =(const QMetaType &other)
# 2302|   {
# 2303|->     m_typedConstructor = other.m_typedConstructor;
# 2304|       m_typedDestructor = other.m_typedDestructor;
# 2305|       m_saveOp = other.m_saveOp;

Error: CLANG_WARNING: [#def161]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qtranslator.cpp:984:9: warning[deadcode.DeadStores]: Value stored to 'c' is never read
#  982|           const uchar *c = contextArray + 2 + (g << 1);
#  983|           quint16 off = read16(c);
#  984|->         c += 2;
#  985|           if (off == 0)
#  986|               return QString();

Error: CLANG_WARNING: [#def162]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/plugin/qelfparser_p.cpp:142:5: warning[deadcode.DeadStores]: Value stored to 'data' is never read
#  140|       data += sizeof(qelfhalf_t); // e_shnum
#  141|       qelfhalf_t e_shtrndx   = read<qelfhalf_t> (data);
#  142|->     data += sizeof(qelfhalf_t); // e_shtrndx
#  143|   
#  144|       if ((quint32)(e_shnum * e_shentsize) > fdlen) {

Error: CLANG_WARNING: [#def163]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qbinaryjsonvalue.cpp:152:54: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  150|           delete d;
#  151|       d = x;
#  152|->     base = static_cast<QBinaryJsonPrivate::Object *>(d->header->root());
#  153|   }
#  154|   

Error: CLANG_WARNING: [#def164]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qcborvalue.cpp:1357:13: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1355|               writer.endMap();
# 1356|       } else if (idx < 0) {
# 1357|->         if (d->elements.size() != 2) {
# 1358|               // invalid state!
# 1359|               qWarning("QCborValue: invalid tag state; are you encoding something that was improperly decoded?");

Error: CLANG_WARNING: [#def165]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qcborvalue.cpp:1515:9: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1513|   
# 1514|       while (reader.hasNext() && reader.lastError() == QCborError::NoError)
# 1515|->         d->decodeValueFromCbor(reader, remainingRecursionDepth - 1);
# 1516|   
# 1517|       if (reader.lastError() == QCborError::NoError)

Error: CLANG_WARNING: [#def166]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonparser.cpp:145:17: warning[deadcode.DeadStores]: Value stored to 'sz' during its initialization is never read
#  143|   QString QJsonParseError::errorString() const
#  144|   {
#  145|->     const char *sz = "";
#  146|       switch (error) {
#  147|       case NoError:

Error: CLANG_WARNING: [#def167]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/statemachine/qstatemachine.cpp:2189:34: warning[core.CallAndMessage]: Called C++ object pointer is null
# 2187|       // Reuse previous GoToStateTransition in case of several calls to
# 2188|       // goToState() in a row.
# 2189|->     GoToStateTransition *trans = sourceState->findChild<GoToStateTransition*>();
# 2190|       if (!trans) {
# 2191|           trans = new GoToStateTransition(targetState);

Error: CLANG_WARNING: [#def168]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qtextboundaryfinder.cpp:185:44: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'QTextBoundaryFinderPrivate', which is incompatible with sizeof operand type 'QCharAttributes'
#  183|       if (other.d) {
#  184|           Q_ASSERT(length > 0);
#  185|->         d = (QTextBoundaryFinderPrivate *) malloc((length + 1) * sizeof(QCharAttributes));
#  186|           Q_CHECK_PTR(d);
#  187|           memcpy(d, other.d, (length + 1) * sizeof(QCharAttributes));

Error: CLANG_WARNING: [#def169]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qtextboundaryfinder.cpp:248:44: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'QTextBoundaryFinderPrivate', which is incompatible with sizeof operand type 'QCharAttributes'
#  246|   {
#  247|       if (length > 0) {
#  248|->         d = (QTextBoundaryFinderPrivate *) malloc((length + 1) * sizeof(QCharAttributes));
#  249|           Q_CHECK_PTR(d);
#  250|           init(t, chars, length, d->attributes);

Error: CLANG_WARNING: [#def170]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qtextboundaryfinder.cpp:277:9: warning[deadcode.DeadStores]: Value stored to 'length' is never read
#  275|   {
#  276|       if (!chars) {
#  277|->         length = 0;
#  278|       } else if (length > 0) {
#  279|           if (buffer && (uint)bufferSize >= (length + 1) * sizeof(QCharAttributes)) {

Error: CLANG_WARNING: [#def171]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qtextboundaryfinder.cpp:283:48: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'QTextBoundaryFinderPrivate', which is incompatible with sizeof operand type 'QCharAttributes'
#  281|               freePrivate = false;
#  282|           } else {
#  283|->             d = (QTextBoundaryFinderPrivate *) malloc((length + 1) * sizeof(QCharAttributes));
#  284|               Q_CHECK_PTR(d);
#  285|           }

Error: CLANG_WARNING: [#def172]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlquery.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlquery.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtSql/qtsqlglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qtsqlglobal.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qglobal.h:1309: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qatomic.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/thread/qatomic.h:251:9: warning[cplusplus.NewDelete]: Argument to 'delete' is the address of a global variable, which is not memory allocated by 'new'
#  249|       x->ref.ref();
#  250|       if (!d->ref.deref())
#  251|->         delete d;
#  252|       d = x;
#  253|   }

Error: CLANG_WARNING: [#def173]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonvalue.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qjsonobject.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonobject.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qjsonvalue.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonvalue.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qglobal.h:1309: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qatomic.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/thread/qatomic.h:46: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qbasicatomic.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/thread/qbasicatomic.h:47: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qatomic_bootstrap.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/thread/qatomic_bootstrap.h:61:16: warning[cplusplus.NewDelete]: Use of memory after it is freed
#   59|       static bool ref(T &_q_value) noexcept
#   60|       {
#   61|->         return ++_q_value != 0;
#   62|       }
#   63|       static bool deref(T &_q_value) noexcept

Error: CLANG_WARNING: [#def174]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/time/qdatetimeparser.cpp:964:13: warning[deadcode.DeadStores]: Value stored to 'year2digits' is never read
#  962|               known &= ~QDateTimeParser::YearSection;
#  963|           } else {
#  964|->             year2digits = year % 100;
#  965|           }
#  966|       }

Error: CLANG_WARNING: [#def175]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/time/qtimezoneprivate_tz.cpp:512:17: warning[deadcode.DeadStores]: Value stored to 'nameBegin' during its initialization is never read
#  510|       static const char offsetChars[] = "0123456789:";
#  511|   
#  512|->     const char *nameBegin = pos;
#  513|       const char *nameEnd;
#  514|       Q_ASSERT(pos < end);

Error: CLANG_WARNING: [#def176]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/corelib/tools/contiguouscache/randomlistmodel.cpp:50: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/corelib/tools/contiguouscache/randomlistmodel.h:53: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/QContiguousCache:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qcontiguouscache.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qcontiguouscache.h:348:45: warning[core.DivideZero]: Division by zero
#  346|       if (QTypeInfo<T>::isComplex) {
#  347|           if (d->count == d->alloc)
#  348|->             (p->array + (d->start+d->count) % d->alloc)->~T();
#  349|           new (p->array + (d->start+d->count) % d->alloc) T(value);
#  350|       } else {

Error: COMPILER_WARNING (CWE-457): [#def177]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:648:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  648 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h: scope_hint: In member function ‘void QList<T>::append(const T&) [with T = QString]’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:640:22: note: ‘copy’ declared here
#  640 |             Node *n, copy;
#      |                      ^~~~
#  646|                   QT_RETHROW;
#  647|               }
#  648|->             *n = copy;
#  649|           }
#  650|       }

Error: COMPILER_WARNING (CWE-457): [#def178]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:682:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  682 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h: scope_hint: In member function ‘virtual void ProjectGenerator::init()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:674:22: note: ‘copy’ declared here
#  674 |             Node *n, copy;
#      |                      ^~~~
#  680|                   QT_RETHROW;
#  681|               }
#  682|->             *n = copy;
#  683|           }
#  684|       }

Error: COMPILER_WARNING (CWE-457): [#def179]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:722:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  722 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h: scope_hint: In function ‘QString commandLinesForOutput(QStringList)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qlist.h:714:22: note: ‘copy’ declared here
#  714 |             Node *n, copy;
#      |                      ^~~~
#  720|                   QT_RETHROW;
#  721|               }
#  722|->             *n = copy;
#  723|           }
#  724|       }

Error: COMPILER_WARNING (CWE-590): [#def180]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qshareddata.h:93:62: warning[-Wfree-nonheap-object]: ‘void operator delete(void*)’ called on unallocated object ‘c_locale’
#   93 |     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#      |                                                              ^~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.cpp: scope_hint: In static member function ‘static QList<QLocale> QLocale::matchingLocales(Language, Script, Country)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.cpp:641:27: note: declared here
#  641 |     static QLocalePrivate c_locale{
#      |                           ^~~~~~~~
#   91|   
#   92|       inline QSharedDataPointer() { d = nullptr; }
#   93|->     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#   94|   
#   95|       explicit QSharedDataPointer(T *data) noexcept;

Error: COMPILER_WARNING (CWE-590): [#def181]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qshareddata.h:93:62: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘c_locale’
#   93 |     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#      |                                                              ^~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.cpp: scope_hint: In static member function ‘static QList<QLocale> QLocale::matchingLocales(Language, Script, Country)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.cpp:641:27: note: declared here
#  641 |     static QLocalePrivate c_locale{
#      |                           ^~~~~~~~
#   91|   
#   92|       inline QSharedDataPointer() { d = nullptr; }
#   93|->     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#   94|   
#   95|       explicit QSharedDataPointer(T *data) noexcept;

Error: CLANG_WARNING: [#def182]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.cpp:51: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qdebug.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/io/qdebug.h:49: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qtextstream.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qtextstream.h:46: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qlocale.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/text/qlocale.h:46: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qshareddata.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qshareddata.h:93:62: warning[cplusplus.NewDelete]: Argument to 'delete' is the address of the static variable 'c_locale', which is not memory allocated by 'new'
#   91|   
#   92|       inline QSharedDataPointer() { d = nullptr; }
#   93|->     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#   94|   
#   95|       explicit QSharedDataPointer(T *data) noexcept;

Error: CLANG_WARNING: [#def183]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonvalue.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qjsonobject.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonobject.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qjsonvalue.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/serialization/qjsonvalue.h:45: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qshareddata.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qshareddata.h:219:24: warning[cplusplus.NewDelete]: Attempt to delete released memory
#  217|               d = o;
#  218|               if (old && !old->ref.deref())
#  219|->                 delete old;
#  220|           }
#  221|           return *this;

Error: CLANG_WARNING: [#def184]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/application.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/application_p.h:55: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/QPointer:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qpointer.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/kernel/qpointer.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qsharedpointer.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qsharedpointer.h:48: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qsharedpointer_impl.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qsharedpointer_impl.h:572:67: warning[cplusplus.NewDelete]: Attempt to delete released memory
#  570|   
#  571|       inline QWeakPointer() noexcept : d(nullptr), value(nullptr) { }
#  572|->     inline ~QWeakPointer() { if (d && !d->weakref.deref()) delete d; }
#  573|   
#  574|   #ifndef QT_NO_QOBJECT

Error: CLANG_WARNING: [#def185]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qversionnumber.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qversionnumber.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qversionnumber.h:159:63: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  157|   
#  158|           void setInlineSize(int len)
#  159|->         { inline_segments[InlineSegmentMarker] = 1 + 2 * len; }
#  160|   
#  161|           void resize(int len)

Error: CLANG_WARNING: [#def186]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusconnection.cpp:209:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  207|   
#  208|       emit connectionRequested(&data);
#  209|->     if (suspendedDelivery && data.result->connection) {
#  210|           data.result->ref.ref();
#  211|           QDBusConnectionDispatchEnabler *o = new QDBusConnectionDispatchEnabler(data.result);

Error: CLANG_WARNING: [#def187]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusconnection.cpp:215:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  213|           o->moveToThread(qApp->thread());    // qApp was checked in the caller
#  214|       }
#  215|->     return data.result;
#  216|   }
#  217|   

Error: CLANG_WARNING: [#def188]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusconnection.cpp:227:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  225|   
#  226|       emit connectionRequested(&data);
#  227|->     return data.result;
#  228|   }
#  229|   

Error: CLANG_WARNING: [#def189]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusconnection.cpp:239:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  237|   
#  238|       emit connectionRequested(&data);
#  239|->     return data.result;
#  240|   }
#  241|   

Error: COMPILER_WARNING: [#def190]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusintegrator.cpp: scope_hint: In member function ‘void QDBusConnectionPrivate::deliverCall(QObject*, int, const QDBusMessage&, const QVector<int>&, int)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusintegrator.cpp:941:25: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  941 |         const QVariant &arg = msg.arguments().at(i - 1);
#      |                         ^~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusintegrator.cpp:941:49: note: the temporary was destroyed at the end of the full expression ‘QDBusMessage::arguments() const().QList<QVariant>::at((i - 1))’
#  941 |         const QVariant &arg = msg.arguments().at(i - 1);
#      |                               ~~~~~~~~~~~~~~~~~~^~~~~~~
#  939|               break;
#  940|   
#  941|->         const QVariant &arg = msg.arguments().at(i - 1);
#  942|           if (arg.userType() == id)
#  943|               // no conversion needed

Error: CLANG_WARNING: [#def191]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusinternalfilters.cpp:113:31: warning[core.CallAndMessage]: Called C++ object pointer is null
#  111|   {
#  112|       QString retval;
#  113|->     const QObjectList &objs = object->children();
#  114|       QObjectList::ConstIterator it = objs.constBegin();
#  115|       QObjectList::ConstIterator end = objs.constEnd();

Error: CLANG_WARNING: [#def192]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusmessage.cpp:294:40: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  292|   
#  293|               QDBusMessage retval = fromDBusMessage(message, conn.connectionCapabilities());
#  294|->             retval.d_ptr->localMessage = true;
#  295|               q_dbus_message_unref(message);
#  296|               if (retval.d_ptr->service.isEmpty())

Error: CLANG_WARNING: [#def193]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusmessage.cpp:507:28: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  505|       QDBusMessage reply = QDBusMessage::createError(name, msg);
#  506|       if (d_ptr->msg)
#  507|->         reply.d_ptr->reply = q_dbus_message_ref(d_ptr->msg);
#  508|       if (d_ptr->localMessage) {
#  509|           reply.d_ptr->localMessage = true;

Error: CLANG_WARNING: [#def194]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusmessage.cpp:509:35: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  507|           reply.d_ptr->reply = q_dbus_message_ref(d_ptr->msg);
#  508|       if (d_ptr->localMessage) {
#  509|->         reply.d_ptr->localMessage = true;
#  510|           d_ptr->localReply = new QDBusMessage(reply); // keep an internal copy
#  511|       }

Error: CLANG_WARNING: [#def195]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusmessage.cpp:541:36: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  539|   {
#  540|       QDBusMessage msg = createErrorReply(QDBusError::errorString(atype), amsg);
#  541|->     msg.d_ptr->parametersValidated = true;
#  542|       return msg;
#  543|   }

Error: CLANG_WARNING: [#def196]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/dbus/qdbusmessage.cpp:575:16: warning[cplusplus.NewDelete]: Attempt to delete released memory
#  573|   {
#  574|       if (!d_ptr->ref.deref())
#  575|->         delete d_ptr;
#  576|   }
#  577|   

Error: CLANG_WARNING: [#def197]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qicon.cpp:219:9: warning[deadcode.DeadStores]: Value stored to 'res' during its initialization is never read
#  217|       }
#  218|       int b = area(pb->size);
#  219|->     int res = a;
#  220|       if (qMin(a,b) >= s)
#  221|           res = qMin(a,b);

Error: CLANG_WARNING: [#def198]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qicon.cpp:342:13: warning[core.NullDereference]: Access to field 'mode' results in a dereference of a null pointer (loaded from variable 'pe')
#  340|           if (pm.size() != actualSize)
#  341|               pm = pm.scaled(actualSize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
#  342|->         if (pe->mode != mode && mode != QIcon::Normal) {
#  343|               QPixmap generated = pm;
#  344|               if (QGuiApplication *guiApp = qobject_cast<QGuiApplication *>(qApp))

Error: CLANG_WARNING: [#def199]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qicon.cpp:993:18: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  991|   bool QIcon::isNull() const
#  992|   {
#  993|->     return !d || d->engine->isNull();
#  994|   }
#  995|   

Error: CLANG_WARNING: [#def200]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qicon.cpp:1136:16: warning[cplusplus.NewDelete]: Use of memory after it is freed
# 1134|   QString QIcon::name() const
# 1135|   {
# 1136|->     if (!d || !d->engine)
# 1137|           return QString();
# 1138|       return d->engine->iconName();

Error: CLANG_WARNING: [#def201]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qicon.cpp:1372:16: warning[core.NullDereference]: Access to field 'is_mask' results in a dereference of a null pointer (loaded from field 'd')
# 1370|       else
# 1371|           detach();
# 1372|->     d->is_mask = isMask;
# 1373|   }
# 1374|   

Error: CLANG_WARNING: [#def202]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qimage_conversions.cpp:1462:27: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
# 1460|                       *b1 += e7;                  // spread error to right pixel
# 1461|                   if (not_last_line) {
# 1462|->                     b2[0] += e5;                // pixel below
# 1463|                       if (x > 1)
# 1464|                           b2[-1] += e3;           // pixel below left

Error: CLANG_WARNING: [#def203]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/image/qpixmapcache.cpp:149:14: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  147|   QPixmapCache::Key::~Key()
#  148|   {
#  149|->     if (d && --(d->ref) == 0)
#  150|           delete d;
#  151|   }

Error: CLANG_WARNING: [#def204]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/kernel/qkeysequence.cpp:907:9: warning[cplusplus.NewDelete]: Argument to 'delete' is the address of the static variable 'shared_empty', which is not memory allocated by 'new'
#  905|   {
#  906|       if (!d->ref.deref())
#  907|->         delete d;
#  908|   }
#  909|   

Error: CLANG_WARNING: [#def205]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/kernel/qopenglcontext.cpp:390:13: warning[core.CallAndMessage]: Called C++ object pointer is null
#  388|               gl1funcs->glGetTexLevelParameteriv(proxy, 0, GL_TEXTURE_WIDTH, &size);
#  389|           else
#  390|->             gl3funcs->glGetTexLevelParameteriv(proxy, 0, GL_TEXTURE_WIDTH, &size);
#  391|   
#  392|           if (size == 0) {

Error: CLANG_WARNING: [#def206]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/opengl/qopenglvertexarrayobject.cpp:52: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtGui/5.15.14/QtGui/private/qopenglvertexarrayobject_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/opengl/qopenglvertexarrayobject_p.h:88:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#   86|       inline void glGenVertexArrays(GLsizei n, GLuint *arrays) const
#   87|       {
#   88|->         GenVertexArrays(n, arrays);
#   89|       }
#   90|   

Error: CLANG_WARNING: [#def207]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qbezier.cpp:518:13: warning[deadcode.DeadStores]: Value stored to 'py0' is never read
#  516|           if (yt < y) {
#  517|               t0 = t;
#  518|->             py0 = yt;
#  519|           } else {
#  520|               t1 = t;

Error: CLANG_WARNING: [#def208]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qbezier.cpp:521:13: warning[deadcode.DeadStores]: Value stored to 'py1' is never read
#  519|           } else {
#  520|               t1 = t;
#  521|->             py1 = yt;
#  522|           }
#  523|           dt = lt - t;

Error: CLANG_WARNING: [#def209]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qpathclipper.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qpathclipper_p.h:58: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtGui/5.15.14/QtGui/private/qbezier_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qbezier_p.h:62: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtGui/5.15.14/QtGui/private/qdatabuffer_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qdatabuffer_p.h:93:59: warning[core.uninitialized.UndefReturn]: Returning null reference
#   91|       inline Type *data() const { return buffer; }
#   92|   
#   93|->     inline Type &at(int i) { Q_ASSERT(i >= 0 && i < siz); return buffer[i]; }
#   94|       inline const Type &at(int i) const { Q_ASSERT(i >= 0 && i < siz); return buffer[i]; }
#   95|       inline Type &last() { Q_ASSERT(!isEmpty()); return buffer[siz-1]; }

Error: CLANG_WARNING: [#def210]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qgrayraster.c:1502:11: warning[deadcode.DeadStores]: Value stored to 'v_last' is never read
# 1500|             v_start.y = ( v_start.y + v_last.y ) / 2;
# 1501|   
# 1502|->           v_last = v_start;
# 1503|           }
# 1504|           point--;

Error: CLANG_WARNING: [#def211]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qgrayraster.c:1889:25: warning[core.NullDereference]: Dereference of null pointer
# 1887|       {
# 1888|         /* compute clip box from target pixmap */
# 1889|->       ras.clip_box.xMin = 0;
# 1890|         ras.clip_box.yMin = 0;
# 1891|         ras.clip_box.xMax = target_map->width;

Error: CLANG_WARNING: [#def212]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qgrayraster.c:1896:20: warning[core.NullDereference]: Dereference of null pointer
# 1894|       else if ( params->flags & QT_FT_RASTER_FLAG_CLIP )
# 1895|       {
# 1896|->       ras.clip_box = params->clip_box;
# 1897|       }
# 1898|       else

Error: CLANG_WARNING: [#def213]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qgrayraster.c:1900:25: warning[core.NullDereference]: Dereference of null pointer
# 1898|       else
# 1899|       {
# 1900|->       ras.clip_box.xMin = -32768L;
# 1901|         ras.clip_box.yMin = -32768L;
# 1902|         ras.clip_box.xMax =  32767L;

Error: CLANG_WARNING: [#def214]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qicc.cpp:419:5: warning[deadcode.DeadStores]: Value stored to 'currentOffset' is never read
#  417|       stream.writeRawData(macdesc.constData(), 67);
#  418|       descSize = 90 + description.size() + 1;
#  419|->     currentOffset += descSize;
#  420|   
#  421|       buffer.close();

Error: CLANG_WARNING: [#def215]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qimagescale.cpp:130:28: warning[core.DivideZero]: Division by zero
#  128|   
#  129|       int up = qAbs(dh) >= sh;
#  130|->     val = up ? 0x8000 * sh / dh - 0x8000 : 0;
#  131|       inc = (((qint64)sh) << 16) / dh;
#  132|       for (int i = 0; i < dh; i++) {

Error: CLANG_WARNING: [#def216]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qimagescale.cpp:131:32: warning[core.DivideZero]: Division by zero
#  129|       int up = qAbs(dh) >= sh;
#  130|       val = up ? 0x8000 * sh / dh - 0x8000 : 0;
#  131|->     inc = (((qint64)sh) << 16) / dh;
#  132|       for (int i = 0; i < dh; i++) {
#  133|           p[j++] = src + qMax(0LL, val >> 16) * sw;

Error: CLANG_WARNING: [#def217]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qimagescale.cpp:158:28: warning[core.DivideZero]: Division by zero
#  156|   
#  157|       int up = qAbs(dw) >= sw;
#  158|->     val = up ? 0x8000 * sw / dw - 0x8000 : 0;
#  159|       inc = (((qint64)sw) << 16) / dw;
#  160|       for (int i = 0; i < dw; i++) {

Error: CLANG_WARNING: [#def218]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qimagescale.cpp:159:32: warning[core.DivideZero]: Division by zero
#  157|       int up = qAbs(dw) >= sw;
#  158|       val = up ? 0x8000 * sw / dw - 0x8000 : 0;
#  159|->     inc = (((qint64)sw) << 16) / dw;
#  160|       for (int i = 0; i < dw; i++) {
#  161|           p[j++] = qMax(0LL, val >> 16);

Error: CLANG_WARNING: [#def219]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qpathclipper.cpp:672:35: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  670|       Q_ASSERT(end > begin);
#  671|   
#  672|->     const qreal pivot = component(m_segments->pointAt(m_nodes.at(begin).point), depth & 1);
#  673|   
#  674|       int first = begin + 1;

Error: CLANG_WARNING: [#def220]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qpathsimplifier.cpp:426:9: warning[unix.MismatchedDeallocator]: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
#  424|       }
#  425|       if (!(n >= nodeBlock && n < nodeBlock + blockSize))
#  426|->         delete n;
#  427|   }
#  428|   

Error: CLANG_WARNING: [#def221]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qpathsimplifier.cpp:956:15: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  954|   
#  955|       QPoint minimum, maximum;
#  956|->     minimum = maximum = elements[0]->middle;
#  957|   
#  958|       for (int i = 1; i < elementCount; ++i) {

Error: CLANG_WARNING: [#def222]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qstroker.cpp:1138:20: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value
# 1136|       doffset -= qFloor(doffset * invSumLength) * sumLength;
# 1137|   
# 1138|->     while (doffset >= dashes[idash]) {
# 1139|           doffset -= dashes[idash];
# 1140|           if (++idash >= dashCount)

Error: CLANG_WARNING: [#def223]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qtextureglyphcache.cpp:182:5: warning[deadcode.DeadStores]: Value stored to 'rowHeight' is never read
#  180|           return true;
#  181|   
#  182|->     rowHeight += paddingDoubled;
#  183|   
#  184|       if (m_w == 0) {

Error: CLANG_WARNING: [#def224]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qtriangulatingstroker.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/painting/qtriangulatingstroker_p.h:164:21: warning[core.NullDereference]: Array access (from variable 'pts') results in a null pointer dereference
#  162|   void QTriangulatingStroker::lineTo(const qreal *pts)
#  163|   {
#  164|->     emitLineSegment(pts[0], pts[1], m_nvx, m_nvy);
#  165|       m_cx = pts[0];
#  166|       m_cy = pts[1];

Error: CLANG_WARNING: [#def225]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:205:41: warning[core.DivideZero]: Division by zero
#  203|                   // y2 < y1 < yC
#  204|                   // Long right edge.
#  205|->                 d1 = centerFrac * value / (v1->y() - center->y());
#  206|                   dd1 = ((value << 8) / (v1->y() - center->y()));
#  207|                   fillLines<clip, BottomUp, LeftToRight>(bits, width, height, y1, yC, x1, dx1,

Error: CLANG_WARNING: [#def226]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:216:41: warning[core.DivideZero]: Division by zero
#  214|                   // y1 <= y2 < yC
#  215|                   // Long left edge.
#  216|->                 d2 = centerFrac * value / (v2->y() - center->y());
#  217|                   dd2 = ((value << 8) / (v2->y() - center->y()));
#  218|                   fillLines<clip, BottomUp, RightToLeft>(bits, width, height, y2, yC, x1, dx1,

Error: CLANG_WARNING: [#def227]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:230:49: warning[core.DivideZero]: Division by zero
#  228|               // y2 < yC <= y1
#  229|               // Center to the right.
#  230|->             int dx = ((v1->x() - v2->x()) << 8) / (v1->y() - v2->y());
#  231|               int xUp, xDn;
#  232|               xUp = xDn = v2->x() + (clip == Clip ? (yC << 8) + 0xff - v2->y()

Error: CLANG_WARNING: [#def228]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:245:49: warning[core.DivideZero]: Division by zero
#  243|               // y1 < yC <= y2
#  244|               // Center to the left.
#  245|->             int dx = ((v1->x() - v2->x()) << 8) / (v1->y() - v2->y());
#  246|               int xUp, xDn;
#  247|               xUp = xDn = v1->x() + (clip == Clip ? (yC << 8) + 0xff - v1->y()

Error: CLANG_WARNING: [#def229]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:261:45: warning[core.DivideZero]: Division by zero
#  259|                   // Long right edge.
#  260|                   if (yC != y2) {
#  261|->                     d2 = centerFrac * value / (v2->y() - center->y());
#  262|                       dd2 = ((value << 8) / (v2->y() - center->y()));
#  263|                       fillLines<clip, TopDown, LeftToRight>(bits, width, height, yC, y2, x2, dx2,

Error: CLANG_WARNING: [#def230]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:266:50: warning[core.DivideZero]: Division by zero
#  264|                                                             x1, dx1, d2, dd2, dd);
#  265|                   }
#  266|->                 dx2 = ((v1->x() - v2->x()) << 8) / (v1->y() - v2->y());
#  267|                   x2 = v2->x() + v2Frac * (v1->x() - v2->x()) / (v1->y() - v2->y());
#  268|                   fillLines<clip, TopDown, LeftToRight>(bits, width, height, y2, y1, x2, dx2,

Error: CLANG_WARNING: [#def231]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:274:45: warning[core.DivideZero]: Division by zero
#  272|                   // yC <= y1 <= y2
#  273|                   if (yC != y1) {
#  274|->                     d1 = centerFrac * value / (v1->y() - center->y());
#  275|                       dd1 = ((value << 8) / (v1->y() - center->y()));
#  276|                       fillLines<clip, TopDown, RightToLeft>(bits, width, height, yC, y1, x2, dx2,

Error: CLANG_WARNING: [#def232]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:280:54: warning[core.DivideZero]: Division by zero
#  278|                   }
#  279|                   if (y1 != y2) {
#  280|->                     dx1 = ((v1->x() - v2->x()) << 8) / (v1->y() - v2->y());
#  281|                       x1 = v1->x() + v1Frac * (v1->x() - v2->x()) / (v1->y() - v2->y());
#  282|                       fillLines<clip, TopDown, RightToLeft>(bits, width, height, y1, y2, x2, dx2,

Error: CLANG_WARNING: [#def233]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:343:66: warning[core.DivideZero]: Division by zero
#  341|               // Mostly vertical.
#  342|               Q_ASSERT(ext1->y() != ext2->y());
#  343|->             xe1 = ext1->x() + ext1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  344|               xe2 = int1->x() + int1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  345|               if (ye1 != yi1) {

Error: CLANG_WARNING: [#def234]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:346:76: warning[core.DivideZero]: Division by zero
#  344|               xe2 = int1->x() + int1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  345|               if (ye1 != yi1) {
#  346|->                 xc2 = center1->x() + center1Frac * (ext1->x() - int1->x()) / (ext1->y() - int1->y());
#  347|                   xc2 += (ye1 - yc1) * dxC;
#  348|                   fillLines<clip, TopDown, LeftToRight>(bits, width, height, ye1, yi1, xe1, dxE,

Error: CLANG_WARNING: [#def235]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:355:76: warning[core.DivideZero]: Division by zero
#  353|                                                         xe2, dxE, extValue, 0, dd);
#  354|               if (ye2 != yi2) {
#  355|->                 xc1 = center2->x() + center2Frac * (ext1->x() - int1->x()) / (ext1->y() - int1->y());
#  356|                   xc1 += (ye2 - yc2) * dxC;
#  357|                   fillLines<clip, TopDown, RightToLeft>(bits, width, height, ye2, yi2, xc1, dxC,

Error: CLANG_WARNING: [#def236]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:363:72: warning[core.DivideZero]: Division by zero
#  361|               // Mostly horizontal.
#  362|               Q_ASSERT(ext1->y() != int1->y());
#  363|->             xc1 = center2->x() + center2Frac * (ext1->x() - int1->x()) / (ext1->y() - int1->y());
#  364|               xc2 = center1->x() + center1Frac * (ext1->x() - int1->x()) / (ext1->y() - int1->y());
#  365|               xc1 += (ye2 - yc2) * dxC;

Error: CLANG_WARNING: [#def237]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:368:70: warning[core.DivideZero]: Division by zero
#  366|               xc2 += (ye1 - yc1) * dxC;
#  367|               if (ye1 != ye2) {
#  368|->                 xe1 = ext1->x() + ext1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  369|                   fillLines<clip, TopDown, LeftToRight>(bits, width, height, ye1, ye2, xe1, dxE,
#  370|                                                         xc2, dxC, extValue, 0, dd);

Error: CLANG_WARNING: [#def238]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:380:70: warning[core.DivideZero]: Division by zero
#  378|               }
#  379|               if (yi1 != yi2) {
#  380|->                 xe2 = int1->x() + int1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  381|                   fillLines<clip, TopDown, RightToLeft>(bits, width, height, yi1, yi2, xc1, dxC,
#  382|                                                         xe2, dxE, intValue, 0, dd);

Error: CLANG_WARNING: [#def239]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:390:66: warning[core.DivideZero]: Division by zero
#  388|               // Mostly vertical.
#  389|               Q_ASSERT(ext1->y() != ext2->y());
#  390|->             xe1 = ext1->x() + ext1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  391|               xe2 = int1->x() + int1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  392|               if (yi1 != ye1) {

Error: CLANG_WARNING: [#def240]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qdistancefield.cpp:393:76: warning[core.DivideZero]: Division by zero
#  391|               xe2 = int1->x() + int1Frac * (ext1->x() - ext2->x()) / (ext1->y() - ext2->y());
#  392|               if (yi1 != ye1) {
#  393|->                 xc1 = center1->x() + center1Frac * (ext1->x() - int1->x()) / (ext1->y() - int1->y());
#  394|                   xc1 += (yi1 - yc1) * dxC;
#  395|                   fillLines<clip, TopDown, RightToLeft>(bits, width, height, yi1, ye1, xc1, dxC,

Error: COMPILER_WARNING (CWE-477): [#def241]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qfontengine.cpp: scope_hint: In member function ‘bool QFontEngine::supportsScript(QChar::Script) const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qfontengine.cpp:377:35: warning[-Wdeprecated-declarations]: ‘void hb_ot_tags_from_script(hb_script_t, hb_tag_t*, hb_tag_t*)’ is deprecated: Use 'hb_ot_tags_from_script_and_language' instead
#  377 |             hb_ot_tags_from_script(hb_qt_script_to_script(script), &script_tag_1, &script_tag_2);
#      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb-ot.h:34: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qfontengine.cpp:58: included_from: Included from here.
/usr/include/harfbuzz/hb-ot-deprecated.h:88:1: note: declared here
#   88 | hb_ot_tags_from_script (hb_script_t  script,
#      | ^~~~~~~~~~~~~~~~~~~~~~
#  375|           if (hb_face_t *face = hb_qt_face_get_for_engine(const_cast<QFontEngine *>(this))) {
#  376|               hb_tag_t script_tag_1, script_tag_2;
#  377|->             hb_ot_tags_from_script(hb_qt_script_to_script(script), &script_tag_1, &script_tag_2);
#  378|   
#  379|               unsigned int script_index;

Error: CLANG_WARNING: [#def242]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qfontsubset.cpp:955:9: warning[deadcode.DeadStores]: Value stored to 'lsb' is never read
#  953|       if (path.isEmpty()) {
#  954|           //qDebug("glyph %d is empty", index);
#  955|->         lsb = 0;
#  956|           glyph.xMin = glyph.xMax = glyph.yMin = glyph.yMax = 0;
#  957|           glyph.numContours = 0;

Error: COMPILER_WARNING (CWE-477): [#def243]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qharfbuzzng.cpp: scope_hint: In constructor ‘_hb_unicode_funcs_t::_hb_unicode_funcs_t()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qharfbuzzng.cpp:432:50: warning[-Wdeprecated-declarations]: ‘void hb_unicode_funcs_set_eastasian_width_func(hb_unicode_funcs_t*, hb_unicode_eastasian_width_func_t, void*, hb_destroy_func_t)’ is deprecated
#  432 |         hb_unicode_funcs_set_eastasian_width_func(funcs, _hb_qt_unicode_eastasian_width, NULL, NULL);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb.h:34: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qharfbuzzng_p.h:61: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qharfbuzzng.cpp:41: included_from: Included from here.
/usr/include/harfbuzz/hb-deprecated.h:148:1: note: declared here
#  148 | hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  430|           funcs = hb_unicode_funcs_create(NULL);
#  431|           hb_unicode_funcs_set_combining_class_func(funcs, _hb_qt_unicode_combining_class, NULL, NULL);
#  432|->         hb_unicode_funcs_set_eastasian_width_func(funcs, _hb_qt_unicode_eastasian_width, NULL, NULL);
#  433|           hb_unicode_funcs_set_general_category_func(funcs, _hb_qt_unicode_general_category, NULL, NULL);
#  434|           hb_unicode_funcs_set_mirroring_func(funcs, _hb_qt_unicode_mirroring, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def244]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qharfbuzzng.cpp:438:58: warning[-Wdeprecated-declarations]: ‘void hb_unicode_funcs_set_decompose_compatibility_func(hb_unicode_funcs_t*, hb_unicode_decompose_compatibility_func_t, void*, hb_destroy_func_t)’ is deprecated
#  438 |         hb_unicode_funcs_set_decompose_compatibility_func(funcs, _hb_qt_unicode_decompose_compatibility, NULL, NULL);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb-deprecated.h:216:1: note: declared here
#  216 | hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  436|           hb_unicode_funcs_set_compose_func(funcs, _hb_qt_unicode_compose, NULL, NULL);
#  437|           hb_unicode_funcs_set_decompose_func(funcs, _hb_qt_unicode_decompose, NULL, NULL);
#  438|->         hb_unicode_funcs_set_decompose_compatibility_func(funcs, _hb_qt_unicode_decompose_compatibility, NULL, NULL);
#  439|       }
#  440|       ~_hb_unicode_funcs_t()

Error: CLANG_WARNING: [#def245]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qplatformfontdatabase.cpp:309:45: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'fileDataPtr'
#  307|       dir.setNameFilters(QStringList() << QLatin1String("*.qpf2"));
#  308|       dir.refresh();
#  309|->     for (int i = 0; i < int(dir.count()); ++i) {
#  310|           const QByteArray fileName = QFile::encodeName(dir.absoluteFilePath(dir[i]));
#  311|           QFile file(QString::fromLocal8Bit(fileName));

Error: CLANG_WARNING: [#def246]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextdocument.cpp:1326:17: warning[deadcode.DeadStores]: Value stored to 'idx' is never read
# 1324|                   //if this is not a whole word, continue the search in the string
# 1325|                   offset = (options & QTextDocument::FindBackward) ? idx-1 : end+1;
# 1326|->                 idx = -1;
# 1327|                   continue;
# 1328|               }

Error: CLANG_WARNING: [#def247]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextdocument.cpp:1446:17: warning[deadcode.DeadStores]: Value stored to 'idx' is never read
# 1444|                   //if this is not a whole word, continue the search in the string
# 1445|                   offset = (options & QTextDocument::FindBackward) ? idx-1 : end+1;
# 1446|->                 idx = -1;
# 1447|                   continue;
# 1448|               }

Error: CLANG_WARNING: [#def248]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextdocument.cpp:1568:17: warning[deadcode.DeadStores]: Value stored to 'idx' is never read
# 1566|                   //if this is not a whole word, continue the search in the string
# 1567|                   offset = (options & QTextDocument::FindBackward) ? idx-1 : end+1;
# 1568|->                 idx = -1;
# 1569|                   continue;
# 1570|               }

Error: CLANG_WARNING: [#def249]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextdocument.cpp:2000:13: warning[deadcode.DeadStores]: Value stored to 'sourceDpiX' is never read
# 1998|           QPaintDevice *dev = doc->documentLayout()->paintDevice();
# 1999|           if (dev) {
# 2000|->             sourceDpiX = dev->logicalDpiX();
# 2001|               sourceDpiY = dev->logicalDpiY();
# 2002|           }

Error: CLANG_WARNING: [#def250]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextdocument.cpp:2001:13: warning[deadcode.DeadStores]: Value stored to 'sourceDpiY' is never read
# 1999|           if (dev) {
# 2000|               sourceDpiX = dev->logicalDpiX();
# 2001|->             sourceDpiY = dev->logicalDpiY();
# 2002|           }
# 2003|   

Error: CLANG_WARNING: [#def251]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextlayout.cpp:1736:13: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1734|           {
# 1735|               qreal rb;
# 1736|->             engine->getGlyphBearings(glyph, nullptr, &rb);
# 1737|   
# 1738|               // We only care about negative right bearings, so we limit the range

Error: CLANG_WARNING: [#def252]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/text/qtextlayout.cpp:1818:14: warning[core.NullDereference]: Dereference of undefined pointer value
# 1816|       QFixed clusterWid = line.textWidth;
# 1817|       do { // calculate the textWidth for the rest of the current cluster.
# 1818|->         if (!glyphs.attributes[glyphPosition].dontPrint)
# 1819|               line.textWidth += glyphs.advances[glyphPosition];
# 1820|           ++glyphPosition;

Error: CLANG_WARNING: [#def253]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/util/qgridlayoutengine.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/util/qgridlayoutengine_p.h:186:9: warning[core.uninitialized.UndefReturn]: Returning null reference
#  184|               break;
#  185|           }
#  186|->         return *t;
#  187|       }
#  188|       inline const qreal &q_sizes(int which) const

Error: CLANG_WARNING: [#def254]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/gui/vulkan/qvulkanwindow.cpp:1387:30: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1385|       memset(&memInfo, 0, sizeof(memInfo));
# 1386|       memInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO;
# 1387|->     memInfo.allocationSize = aligned(memReq.size, memReq.alignment) * count;
# 1388|   
# 1389|       uint32_t startIndex = 0;

Error: CLANG_WARNING: [#def255]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qhttpprotocolhandler.cpp:92:12: warning[deadcode.DeadStores]: Value stored to 'lastBytes' during its initialization is never read
#   90|       // read loop for the response
#   91|       qint64 bytes = 0;
#   92|->     qint64 lastBytes = bytes;
#   93|       do {
#   94|           lastBytes = bytes;

Error: COMPILER_WARNING (CWE-477): [#def256]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkaccessmanager.cpp: scope_hint: In member function ‘virtual QNetworkReply* QNetworkAccessManager::createRequest(Operation, const QNetworkRequest&, QIODevice*)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkaccessmanager.cpp:1397:43: warning[-Wdeprecated-declarations]: ‘QNetworkRequest::FollowRedirectsAttribute’ is deprecated: Use RedirectPolicyAttribute
# 1397 |         && req.attribute(QNetworkRequest::FollowRedirectsAttribute).isNull()) {
#      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtNetwork/qnetworkrequest.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkaccessmanager.h:44: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkaccessmanager.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkrequest.h:97:9: note: declared here
#   97 |         FollowRedirectsAttribute Q_DECL_ENUMERATOR_DEPRECATED_X("Use RedirectPolicyAttribute"),
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
# 1395|       if (redirectPolicy() != QNetworkRequest::ManualRedirectPolicy
# 1396|           && req.attribute(QNetworkRequest::RedirectPolicyAttribute).isNull()
# 1397|->         && req.attribute(QNetworkRequest::FollowRedirectsAttribute).isNull()) {
# 1398|           req.setAttribute(QNetworkRequest::RedirectPolicyAttribute, redirectPolicy());
# 1399|       }

Error: COMPILER_WARNING (CWE-477): [#def257]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkreplyhttpimpl.cpp: scope_hint: In member function ‘void QNetworkReplyHttpImplPrivate::postRequest(const QNetworkRequest&)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkreplyhttpimpl.cpp:700:56: warning[-Wdeprecated-declarations]: ‘QNetworkRequest::FollowRedirectsAttribute’ is deprecated: Use RedirectPolicyAttribute
#  700 |     else if (newHttpRequest.attribute(QNetworkRequest::FollowRedirectsAttribute).toBool())
#      |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkreplyhttpimpl_p.h:55: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkreplyhttpimpl.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkrequest.h:97:9: note: declared here
#   97 |         FollowRedirectsAttribute Q_DECL_ENUMERATOR_DEPRECATED_X("Use RedirectPolicyAttribute"),
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
#  698|       if (value.isValid())
#  699|           redirectPolicy = qvariant_cast<QNetworkRequest::RedirectPolicy>(value);
#  700|->     else if (newHttpRequest.attribute(QNetworkRequest::FollowRedirectsAttribute).toBool())
#  701|           redirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy;
#  702|   

Error: CLANG_WARNING: [#def258]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qspdyprotocolhandler.cpp:266:9: warning[deadcode.DeadStores]: Value stored to 'zlibRet' during its initialization is never read
#  264|       m_inflateStream.zfree = Z_NULL;
#  265|       m_inflateStream.opaque = Z_NULL;
#  266|->     int zlibRet = inflateInit(&m_inflateStream);
#  267|       Q_ASSERT(zlibRet == Z_OK);
#  268|   

Error: CLANG_WARNING: [#def259]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qspdyprotocolhandler.cpp:603:12: warning[deadcode.DeadStores]: Value stored to 'written' during its initialization is never read
#  601|       appendIntToThreeBytes(header + 5, length);
#  602|   
#  603|->     qint64 written = m_socket->write(header, 8);
#  604|       Q_ASSERT(written == 8);
#  605|       written = m_socket->write(data, length);

Error: CLANG_WARNING: [#def260]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/access/qspdyprotocolhandler.cpp:806:5: warning[deadcode.DeadStores]: Value stored to 'version' is never read
#  804|       Q_ASSERT(frameHeaders.count() >= 8);
#  805|       qint16 version = twoBytesToInt(frameHeaders.constData());
#  806|->     version &= 0x3fff; // eliminate most significant bit to determine version
#  807|       Q_ASSERT(version == 3);
#  808|   

Error: CLANG_WARNING: [#def261]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qauthenticator.cpp:670:9: warning[deadcode.DeadStores]: Value stored to 'start' is never read
#  668|           if (d >= end)
#  669|               break;
#  670|->         start = d;
#  671|           QByteArray value;
#  672|           while (d < end) {

Error: CLANG_WARNING: [#def262]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qauthenticator.cpp:1541:5: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
# 1539|       // Get NTLM response
# 1540|       pb.ntlmResponseBuf = qEncodeNtlmv2Response(ctx, ch, &pb);
# 1541|->     offset = qEncodeNtlmBuffer(pb.ntlmResponse, offset, pb.ntlmResponseBuf);
# 1542|   
# 1543|   

Error: COMPILER_WARNING (CWE-477): [#def263]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qnetworkproxy_libproxy.cpp: scope_hint: In static member function ‘static QList<QNetworkProxy> QNetworkProxyFactory::systemProxyForQuery(const QNetworkProxyQuery&)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qnetworkproxy_libproxy.cpp:194:55: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = QNetworkProxy::Capability; Zero = int QFlags<QNetworkProxy::Capability>::Private::*]’ is deprecated: Use default constructor instead
#  194 |     QNetworkProxy::Capabilities requiredCapabilities(0);
#      |                                                       ^
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qflags.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qglobal.h:1307: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qtnetworkglobal.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtNetwork/qtnetworkglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qnetworkproxy.h:43: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/kernel/qnetworkproxy_libproxy.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/global/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  192|   
#  193|       QUrl queryUrl;
#  194|->     QNetworkProxy::Capabilities requiredCapabilities(0);
#  195|       switch (query.queryType()) {
#  196|       //URL requests are directly supported by libproxy

Error: CLANG_WARNING: [#def264]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/socket/qabstractsocket.cpp:2293:14: warning[core.CallAndMessage]: Called C++ object pointer is null
# 2291|           bool readyToRead = false;
# 2292|           bool readyToWrite = false;
# 2293|->         if (!d->socketEngine->waitForReadOrWrite(&readyToRead, &readyToWrite, true, !d->writeBuffer.isEmpty(),
# 2294|                                                  qt_subtract_from_timeout(msecs, stopWatch.elapsed()))) {
# 2295|   #if defined (QABSTRACTSOCKET_DEBUG)

Error: CLANG_WARNING: [#def265]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/socket/qnativesocketengine_unix.cpp:1165:9: warning[deadcode.DeadStores]: Value stored to 'cmsgptr' is never read
# 1163|           cmsgptr->cmsg_type =  SCTP_SNDRCV;
# 1164|           data->sinfo_stream = uint16_t(header.streamNumber);
# 1165|->         cmsgptr = reinterpret_cast<cmsghdr *>(reinterpret_cast<char *>(cmsgptr) + CMSG_SPACE(sizeof(*data)));
# 1166|       }
# 1167|   #endif

Error: CLANG_WARNING: [#def266]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/socket/qudpsocket.cpp:137:9: warning[deadcode.DeadStores]: Value stored to 'proto' is never read
#  135|       if (proto == QUdpSocket::UnknownNetworkLayerProtocol) {
#  136|           address = &remoteAddress;
#  137|->         proto = address->protocol();
#  138|       }
#  139|   

Error: CLANG_WARNING: [#def267]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/network/ssl/qsslsocket.cpp:835:12: warning[core.CallAndMessage]: Called C++ object pointer is null
#  833|       if (d->mode == UnencryptedMode)
#  834|           return 0;
#  835|->     return d->plainSocket->bytesToWrite();
#  836|   }
#  837|   

Error: CLANG_WARNING: [#def268]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp:792:17: warning[deadcode.DeadStores]: Value stored to 'data' is never read
#  790|               } else {
#  791|                   cache = new QGL2PEVectorPathCache;
#  792|->                 data = const_cast<QVectorPath &>(path).addCacheData(q, cache, cleanupVectorPath);
#  793|                   updateCache = true;
#  794|               }

Error: CLANG_WARNING: [#def269]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp:872:17: warning[deadcode.DeadStores]: Value stored to 'data' is never read
#  870|               } else {
#  871|                   cache = new QGL2PEVectorPathCache;
#  872|->                 data = const_cast<QVectorPath &>(path).addCacheData(q, cache, cleanupVectorPath);
#  873|                   updateCache = true;
#  874|               }

Error: CLANG_WARNING: [#def270]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/opengl/qglframebufferobject.cpp:235:12: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  233|   int QGLFramebufferObjectFormat::samples() const
#  234|   {
#  235|->     return d->samples;
#  236|   }
#  237|   

Error: CLANG_WARNING: [#def271]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/opengl/qglframebufferobject.cpp:339:12: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  337|   GLenum QGLFramebufferObjectFormat::internalTextureFormat() const
#  338|   {
#  339|->     return d->internal_format;
#  340|   }
#  341|   

Error: CLANG_WARNING: [#def272]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/atspiadaptor.cpp:138:5: warning[deadcode.DeadStores]: Value stored to 'success' is never read
#  136|                                                   QLatin1String("org.a11y.atspi.Registry"), QLatin1String("EventListenerRegistered"), this,
#  137|                                                   SLOT(eventListenerRegistered(QString,QString)));
#  138|->     success = success && m_dbus->connection().connect(QLatin1String("org.a11y.atspi.Registry"), QLatin1String("/org/a11y/atspi/registry"),
#  139|                                                         QLatin1String("org.a11y.atspi.Registry"), QLatin1String("EventListenerDeregistered"), this,
#  140|                                                         SLOT(eventListenerDeregistered(QString,QString)));

Error: COMPILER_WARNING (CWE-457): [#def273]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/constant_mappings_p.h:110:8: warning[-Wmaybe-uninitialized]: ‘<unnamed>.RoleNames::m_spiRole’ may be used uninitialized
#  110 | struct RoleNames {
#      |        ^~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qhash.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qshareddata.h:46: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qshareddata.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qsharedpointer.h:45: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtCore/qsharedpointer.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/atspiadaptor_p.h:58: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/atspiadaptor.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qhash.h: scope_hint: In member function ‘T& QHash<K, V>::operator[](const Key&) [with Key = QAccessible::Role; T = RoleNames]’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/corelib/tools/qhash.h:761:36: note: ‘<anonymous>’ declared here
#  761 |         return createNode(h, akey, T(), node)->value;
#      |                                    ^~~
#  108|   QT_BEGIN_NAMESPACE
#  109|   
#  110|-> struct RoleNames {
#  111|       RoleNames() {}
#  112|       RoleNames(AtspiRole r, const QString& n, const QString& ln)

Error: CLANG_WARNING: [#def274]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/platformsupport/linuxaccessibility/dbusconnection.cpp:138:70: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'a11yStatus'
#  136|       static const bool a11yAlwaysOn = qEnvironmentVariableIsSet("QT_LINUX_ACCESSIBILITY_ALWAYS_ON");
#  137|   
#  138|->     bool enabled = a11yAlwaysOn || a11yStatus->screenReaderEnabled() || a11yStatus->isEnabled();
#  139|   
#  140|       if (enabled != m_enabled) {

Error: CLANG_WARNING: [#def275]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/imageformats/gif/qgifhandler.cpp:502:35: warning[core.BitwiseShift]: Right operand is negative in left shift
#  500|               }
#  501|               while (bitcount>=code_size && state==ImageDataBlock) {
#  502|->                 int code=accum&((1<<code_size)-1);
#  503|                   bitcount-=code_size;
#  504|                   accum>>=code_size;

Error: CLANG_WARNING: [#def276]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/imageformats/ico/qicohandler.cpp:214:17: warning[deadcode.DeadStores]: Value stored to 'readBytes' is never read
#  212|               qint64 readBytes = ICONDIR_SIZE;
#  213|               if (readIconDirEntry(iodev, &ikonDir.idEntries[0])) {
#  214|->                 readBytes += ICONDIRENTRY_SIZE;
#  215|                   // ICO format does not have a magic identifier, so we read 6 different values, which will hopefully be enough to identify the file.
#  216|                   if (   ikonDir.idReserved == 0

Error: CLANG_WARNING: [#def277]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmdevice.cpp:80:9: warning[deadcode.DeadStores]: Value stored to 'fd' is never read
#   78|           qErrnoWarning("Could not create GBM device");
#   79|           qt_safe_close(fd);
#   80|->         fd = -1;
#   81|           return false;
#   82|       }

Error: CLANG_WARNING: [#def278]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platforms/vnc/qvncclient.cpp:163:13: warning[deadcode.DeadStores]: Value stored to 'r' is never read
#  161|           }
#  162|           default: {
#  163|->             r = g = b = 0;
#  164|               qWarning("QVNCServer: don't support %dbpp display", screendepth);
#  165|               return;

Error: CLANG_WARNING: [#def279]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platforms/vnc/qvncclient.cpp:163:17: warning[deadcode.DeadStores]: Although the value stored to 'g' is used in the enclosing expression, the value is never actually read from 'g'
#  161|           }
#  162|           default: {
#  163|->             r = g = b = 0;
#  164|               qWarning("QVNCServer: don't support %dbpp display", screendepth);
#  165|               return;

Error: CLANG_WARNING: [#def280]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platforms/vnc/qvncclient.cpp:163:21: warning[deadcode.DeadStores]: Although the value stored to 'b' is used in the enclosing expression, the value is never actually read from 'b'
#  161|           }
#  162|           default: {
#  163|->             r = g = b = 0;
#  164|               qWarning("QVNCServer: don't support %dbpp display", screendepth);
#  165|               return;

Error: CLANG_WARNING: [#def281]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platforms/xcb/qxcbatom.cpp:269:57: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  267|       Q_ASSERT(i == QXcbAtom::NAtoms);
#  268|       for (i = 0; i < QXcbAtom::NAtoms; ++i)
#  269|->         cookies[i] = xcb_intern_atom(connection, false, strlen(names[i]), names[i]);
#  270|   
#  271|       for (i = 0; i < QXcbAtom::NAtoms; ++i) {

Error: COMPILER_WARNING (CWE-563): [#def282]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/gtk3/qgtk3theme.cpp: scope_hint: In member function ‘virtual QIcon QGtk3Theme::fileIcon(const QFileInfo&, QPlatformTheme::IconOptions) const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/gtk3/qgtk3theme.cpp:267:56: warning[-Wunused-parameter]: unused parameter ‘iconOptions’
#  267 |                            QPlatformTheme::IconOptions iconOptions) const
#      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
#  265|   
#  266|   QIcon QGtk3Theme::fileIcon(const QFileInfo &fileInfo,
#  267|->                            QPlatformTheme::IconOptions iconOptions) const
#  268|   {
#  269|       Q_ASSERT(m_storage);

Error: COMPILER_WARNING (CWE-477): [#def283]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In constructor ‘QPpdPrintDevice::QPpdPrintDevice(const QString&)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:71:45: warning[-Wdeprecated-declarations]: ‘const char* cupsGetPPD(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   71 |             const char *ppdFile = cupsGetPPD(m_cupsName);
#      |                                   ~~~~~~~~~~^~~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprint_p.h:61: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/5.15.14/QtPrintSupport/private/qprint_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qplatformprintdevice.h:56: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtPrintSupport/5.15.14/QtPrintSupport/qpa/qplatformprintdevice.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.h:54: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:40: included_from: Included from here.
/usr/include/cups/ppd.h:359:26: note: declared here
#  359 | extern const char       *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                          ^~~~~~~~~~
#   69|           m_cupsDest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, m_cupsName, m_cupsInstance.isNull() ? nullptr : m_cupsInstance.constData());
#   70|           if (m_cupsDest) {
#   71|->             const char *ppdFile = cupsGetPPD(m_cupsName);
#   72|               if (ppdFile) {
#   73|                   m_ppd = ppdOpenFile(ppdFile);

Error: COMPILER_WARNING (CWE-477): [#def284]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:73:36: warning[-Wdeprecated-declarations]: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   73 |                 m_ppd = ppdOpenFile(ppdFile);
#      |                         ~~~~~~~~~~~^~~~~~~~~
/usr/include/cups/ppd.h:390:26: note: declared here
#  390 | extern ppd_file_t       *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                          ^~~~~~~~~~~
#   71|               const char *ppdFile = cupsGetPPD(m_cupsName);
#   72|               if (ppdFile) {
#   73|->                 m_ppd = ppdOpenFile(ppdFile);
#   74|                   unlink(ppdFile);
#   75|               }

Error: COMPILER_WARNING (CWE-477): [#def285]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:77:32: warning[-Wdeprecated-declarations]: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   77 |                 ppdMarkDefaults(m_ppd);
#      |                 ~~~~~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
#  385 | extern void             ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~~~~~
#   75|               }
#   76|               if (m_ppd) {
#   77|->                 ppdMarkDefaults(m_ppd);
#   78|                   cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|                   ppdLocalize(m_ppd);

Error: COMPILER_WARNING (CWE-477): [#def286]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:78:32: warning[-Wdeprecated-declarations]: ‘int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   78 |                 cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
#  363 | extern int              cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~~~~~
#   76|               if (m_ppd) {
#   77|                   ppdMarkDefaults(m_ppd);
#   78|->                 cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|                   ppdLocalize(m_ppd);
#   80|   

Error: COMPILER_WARNING (CWE-477): [#def287]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:79:28: warning[-Wdeprecated-declarations]: ‘int ppdLocalize(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   79 |                 ppdLocalize(m_ppd);
#      |                 ~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:435:25: note: declared here
#  435 | extern int              ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~
#   77|                   ppdMarkDefaults(m_ppd);
#   78|                   cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|->                 ppdLocalize(m_ppd);
#   80|   
#   81|                   m_minimumPhysicalPageSize = QSize(m_ppd->custom_min[0], m_ppd->custom_min[1]);

Error: COMPILER_WARNING (CWE-477): [#def288]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In destructor ‘virtual QPpdPrintDevice::~QPpdPrintDevice()’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:109:17: warning[-Wdeprecated-declarations]: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  109 |         ppdClose(m_ppd);
#      |         ~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
#  365 | extern void             ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~
#  107|   {
#  108|       if (m_ppd)
#  109|->         ppdClose(m_ppd);
#  110|       if (m_cupsDest)
#  111|           cupsFreeDests(1, m_cupsDest);

Error: COMPILER_WARNING (CWE-477): [#def289]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadPageSizes() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:149:44: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  149 |     ppd_option_t *pageSizes = ppdFindOption(m_ppd, "PageSize");
#      |                               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  147|       m_printableMargins.clear();
#  148|   
#  149|->     ppd_option_t *pageSizes = ppdFindOption(m_ppd, "PageSize");
#  150|       if (pageSizes) {
#  151|           for (int i = 0; i < pageSizes->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def290]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:152:52: warning[-Wdeprecated-declarations]: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  152 |             const ppd_size_t *ppdSize = ppdPageSize(m_ppd, pageSizes->choices[i].choice);
#      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:393:26: note: declared here
#  393 | extern ppd_size_t       *ppdPageSize(ppd_file_t *ppd, const char *name)
#      |                          ^~~~~~~~~~~
#  150|       if (pageSizes) {
#  151|           for (int i = 0; i < pageSizes->num_choices; ++i) {
#  152|->             const ppd_size_t *ppdSize = ppdPageSize(m_ppd, pageSizes->choices[i].choice);
#  153|               if (ppdSize) {
#  154|                   // Returned size is in points

Error: COMPILER_WARNING (CWE-477): [#def291]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPageSize QPpdPrintDevice::defaultPageSize() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:174:54: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  174 |     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#      |                                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  172|   QPageSize QPpdPrintDevice::defaultPageSize() const
#  173|   {
#  174|->     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#  175|       if (defaultChoice) {
#  176|           ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def292]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:176:42: warning[-Wdeprecated-declarations]: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  176 |         ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);
#      |                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:393:26: note: declared here
#  393 | extern ppd_size_t       *ppdPageSize(ppd_file_t *ppd, const char *name)
#      |                          ^~~~~~~~~~~
#  174|       ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#  175|       if (defaultChoice) {
#  176|->         ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);
#  177|           if (ppdSize) {
#  178|               // Returned size is in points

Error: COMPILER_WARNING (CWE-477): [#def293]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadResolutions() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:207:46: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  207 |     ppd_option_t *resolutions = ppdFindOption(m_ppd, "Resolution");
#      |                                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  205|   
#  206|       // Try load standard PPD options first
#  207|->     ppd_option_t *resolutions = ppdFindOption(m_ppd, "Resolution");
#  208|       if (resolutions) {
#  209|           for (int i = 0; i < resolutions->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def294]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:217:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  217 |         resolutions = ppdFindOption(m_ppd, "DefaultResolution");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  215|       // If no result, try just the default
#  216|       if (m_resolutions.size() == 0) {
#  217|->         resolutions = ppdFindOption(m_ppd, "DefaultResolution");
#  218|           if (resolutions) {
#  219|               int res = QPrintUtils::parsePpdResolution(resolutions->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def295]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:226:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  226 |         resolutions = ppdFindOption(m_ppd, "HPPrintQuality");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  224|       // If still no result, then try HP's custom options
#  225|       if (m_resolutions.size() == 0) {
#  226|->         resolutions = ppdFindOption(m_ppd, "HPPrintQuality");
#  227|           if (resolutions) {
#  228|               for (int i = 0; i < resolutions->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def296]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:236:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  236 |         resolutions = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  234|       }
#  235|       if (m_resolutions.size() == 0) {
#  236|->         resolutions = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#  237|           if (resolutions) {
#  238|               int res = QPrintUtils::parsePpdResolution(resolutions->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def297]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual int QPpdPrintDevice::defaultResolution() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:249:45: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  249 |     ppd_option_t *resolution = ppdFindOption(m_ppd, "DefaultResolution");
#      |                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  247|   {
#  248|       // Try load standard PPD option first
#  249|->     ppd_option_t *resolution = ppdFindOption(m_ppd, "DefaultResolution");
#  250|       if (resolution) {
#  251|           int res = QPrintUtils::parsePpdResolution(resolution->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def298]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:256:54: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  256 |     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Resolution");
#      |                                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  254|       }
#  255|       // If no result, then try a marked option
#  256|->     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Resolution");
#  257|       if (defaultChoice) {
#  258|           int res = QPrintUtils::parsePpdResolution(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def299]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:263:31: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  263 |     resolution = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#      |                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  261|       }
#  262|       // If still no result, then try HP's custom options
#  263|->     resolution = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#  264|       if (resolution) {
#  265|           int res = QPrintUtils::parsePpdResolution(resolution->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def300]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:269:40: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  269 |     defaultChoice = ppdFindMarkedChoice(m_ppd, "HPPrintQuality");
#      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  267|               return res;
#  268|       }
#  269|->     defaultChoice = ppdFindMarkedChoice(m_ppd, "HPPrintQuality");
#  270|       if (defaultChoice) {
#  271|           int res = QPrintUtils::parsePpdResolution(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def301]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadInputSlots() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:289:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  289 |         ppd_option_t *inputSlots = ppdFindOption(m_ppd, "InputSlot");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  287|       m_inputSlots.clear();
#  288|       if (m_ppd) {
#  289|->         ppd_option_t *inputSlots = ppdFindOption(m_ppd, "InputSlot");
#  290|           if (inputSlots) {
#  291|               m_inputSlots.reserve(inputSlots->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def302]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:297:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  297 |             inputSlots = ppdFindOption(m_ppd, "DefaultInputSlot");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  295|           // If no result, try just the default
#  296|           if (m_inputSlots.size() == 0) {
#  297|->             inputSlots = ppdFindOption(m_ppd, "DefaultInputSlot");
#  298|               if (inputSlots)
#  299|                   m_inputSlots.append(QPrintUtils::ppdChoiceToInputSlot(inputSlots->choices[0]));

Error: COMPILER_WARNING (CWE-477): [#def303]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::InputSlot QPpdPrintDevice::defaultInputSlot() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:313:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  313 |         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultInputSlot");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  311|       // Try load standard PPD option first
#  312|       if (m_ppd) {
#  313|->         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultInputSlot");
#  314|           if (inputSlot)
#  315|               return QPrintUtils::ppdChoiceToInputSlot(inputSlot->choices[0]);

Error: COMPILER_WARNING (CWE-477): [#def304]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:317:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  317 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "InputSlot");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  315|               return QPrintUtils::ppdChoiceToInputSlot(inputSlot->choices[0]);
#  316|           // If no result, then try a marked option
#  317|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "InputSlot");
#  318|           if (defaultChoice)
#  319|               return QPrintUtils::ppdChoiceToInputSlot(*defaultChoice);

Error: COMPILER_WARNING (CWE-477): [#def305]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadOutputBins() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:330:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  330 |         ppd_option_t *outputBins = ppdFindOption(m_ppd, "OutputBin");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  328|       m_outputBins.clear();
#  329|       if (m_ppd) {
#  330|->         ppd_option_t *outputBins = ppdFindOption(m_ppd, "OutputBin");
#  331|           if (outputBins) {
#  332|               m_outputBins.reserve(outputBins->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def306]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:338:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  338 |             outputBins = ppdFindOption(m_ppd, "DefaultOutputBin");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  336|           // If no result, try just the default
#  337|           if (m_outputBins.size() == 0) {
#  338|->             outputBins = ppdFindOption(m_ppd, "DefaultOutputBin");
#  339|               if (outputBins)
#  340|                   m_outputBins.append(QPrintUtils::ppdChoiceToOutputBin(outputBins->choices[0]));

Error: COMPILER_WARNING (CWE-477): [#def307]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::OutputBin QPpdPrintDevice::defaultOutputBin() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:354:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  354 |         ppd_option_t *outputBin = ppdFindOption(m_ppd, "DefaultOutputBin");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  352|       // Try load standard PPD option first
#  353|       if (m_ppd) {
#  354|->         ppd_option_t *outputBin = ppdFindOption(m_ppd, "DefaultOutputBin");
#  355|           if (outputBin)
#  356|               return QPrintUtils::ppdChoiceToOutputBin(outputBin->choices[0]);

Error: COMPILER_WARNING (CWE-477): [#def308]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:358:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  358 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "OutputBin");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  356|               return QPrintUtils::ppdChoiceToOutputBin(outputBin->choices[0]);
#  357|           // If no result, then try a marked option
#  358|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "OutputBin");
#  359|           if (defaultChoice)
#  360|               return QPrintUtils::ppdChoiceToOutputBin(*defaultChoice);

Error: COMPILER_WARNING (CWE-477): [#def309]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadDuplexModes() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:372:50: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  372 |         ppd_option_t *duplexModes = ppdFindOption(m_ppd, "Duplex");
#      |                                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  370|       m_duplexModes.clear();
#  371|       if (m_ppd) {
#  372|->         ppd_option_t *duplexModes = ppdFindOption(m_ppd, "Duplex");
#  373|           if (duplexModes) {
#  374|               m_duplexModes.reserve(duplexModes->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def310]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:376:43: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  376 |                 if (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[i].choice) == 0) {
#      |                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  374|               m_duplexModes.reserve(duplexModes->num_choices);
#  375|               for (int i = 0; i < duplexModes->num_choices; ++i) {
#  376|->                 if (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[i].choice) == 0) {
#  377|                       m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[i].choice));
#  378|                   }

Error: COMPILER_WARNING (CWE-477): [#def311]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:383:40: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  383 |             duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#      |                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  381|           // If no result, try just the default
#  382|           if (m_duplexModes.size() == 0) {
#  383|->             duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#  384|               if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#  385|                   m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[0].choice));

Error: COMPILER_WARNING (CWE-477): [#def312]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:384:55: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  384 |             if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  382|           if (m_duplexModes.size() == 0) {
#  383|               duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#  384|->             if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#  385|                   m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[0].choice));
#  386|               }

Error: COMPILER_WARNING (CWE-477): [#def313]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::DuplexMode QPpdPrintDevice::defaultDuplexMode() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:402:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  402 |         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultDuplex");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  400|       // Try load standard PPD option first
#  401|       if (m_ppd) {
#  402|->         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultDuplex");
#  403|           if (inputSlot)
#  404|               return QPrintUtils::ppdChoiceToDuplexMode(inputSlot->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def314]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:406:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  406 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Duplex");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  404|               return QPrintUtils::ppdChoiceToDuplexMode(inputSlot->choices[0].choice);
#  405|           // If no result, then try a marked option
#  406|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Duplex");
#  407|           if (defaultChoice)
#  408|               return QPrintUtils::ppdChoiceToDuplexMode(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def315]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::ColorMode QPpdPrintDevice::defaultColorMode() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:434:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  434 |         ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  432|       // users known to abuse ColorModel to always force GrayScale.
#  433|       if (m_ppd && supportedColorModes().contains(QPrint::Color)) {
#  434|->         ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#  435|           if (!colorModel)
#  436|               colorModel = ppdFindOption(m_ppd, "ColorModel");

Error: COMPILER_WARNING (CWE-477): [#def316]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:436:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  436 |             colorModel = ppdFindOption(m_ppd, "ColorModel");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  434|           ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#  435|           if (!colorModel)
#  436|->             colorModel = ppdFindOption(m_ppd, "ColorModel");
#  437|           if (!colorModel || qstrcmp(colorModel->defchoice, "Gray") != 0)
#  438|               return QPrint::Color;

Error: COMPILER_WARNING (CWE-477): [#def317]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual bool QPpdPrintDevice::setProperty(QPrintDevice::PrintDevicePropertyKey, const QVariant&)’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:464:26: warning[-Wdeprecated-declarations]: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  464 |             ppdMarkOption(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
#  386 | extern int              ppdMarkOption(ppd_file_t *ppd, const char *keyword,
#      |                         ^~~~~~~~~~~~~
#  462|           const QStringList values = value.toStringList();
#  463|           if (values.count() == 2) {
#  464|->             ppdMarkOption(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#  465|               return true;
#  466|           }

Error: COMPILER_WARNING (CWE-477): [#def318]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual bool QPpdPrintDevice::isFeatureAvailable(QPrintDevice::PrintDevicePropertyKey, const QVariant&) const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/printsupport/cups/qppdprintdevice.cpp:477:42: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  477 |             return ppdInstallableConflict(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  475|           const QStringList values = params.toStringList();
#  476|           if (values.count() == 2)
#  477|->             return ppdInstallableConflict(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#  478|       }
#  479|   

Error: CLANG_WARNING: [#def319]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:503:13: warning[deadcode.DeadStores]: Value stored to 'res' is never read
#  501|       if (paramCountIsValid) {
#  502|           for (int i = 0; i < paramCount; ++i) {
#  503|->             res = SQLITE_OK;
#  504|               const QVariant &value = values.at(i);
#  505|   

Error: CLANG_WARNING: [#def320]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/dialogs/qprintdialog_unix.cpp:75: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/.uic/ui_qprintwidget.h:48:13: warning[core.CallAndMessage]: Called C++ object pointer is null
#   46|       void setupUi(QWidget *QPrintWidget)
#   47|       {
#   48|->         if (QPrintWidget->objectName().isEmpty())
#   49|               QPrintWidget->setObjectName(QString::fromUtf8("QPrintWidget"));
#   50|           QPrintWidget->resize(443, 175);

Error: CLANG_WARNING: [#def321]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/dialogs/qprintdialog_unix.cpp:1211:35: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1209|       widget.fileBrowser->setVisible(printToFile);
# 1210|   
# 1211|->     widget.properties->setVisible(q->isOptionEnabled(QAbstractPrintDialog::PrintShowPageSize));
# 1212|   }
# 1213|   

Error: COMPILER_WARNING (CWE-477): [#def322]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.cpp: scope_hint: In member function ‘QPrinter::PaperSize QPrinter::paperSize() const’
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.cpp:1077:20: warning[-Wdeprecated-declarations]: ‘QPagedPaintDevice::PageSize QPrinter::pageSize() const’ is deprecated: Use pageLayout().pageSize().id() instead.
# 1077 |     return pageSize();
#      |            ~~~~~~~~^~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinter.h:179:14: note: declared here
#  179 |     PageSize pageSize() const;
#      |              ^~~~~~~~
# 1075|   QPrinter::PaperSize QPrinter::paperSize() const
# 1076|   {
# 1077|->     return pageSize();
# 1078|   }
# 1079|   

Error: CLANG_WARNING: [#def323]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/printsupport/kernel/qprinterinfo.cpp:61:13: warning[cplusplus.NewDelete]: Argument to 'delete' is the address of a global variable, which is not memory allocated by 'new'
#   59|       {
#   60|           if (d != shared_null)
#   61|->             delete d;
#   62|       }
#   63|   };

Error: CLANG_WARNING: [#def324]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlerror.cpp:183:17: warning[core.NonNullParamChecker]: Forming reference to null pointer
#  181|           *d = *other.d;
#  182|       else
#  183|->         d = new QSqlErrorPrivate(*other.d);
#  184|       return *this;
#  185|   }

Error: CLANG_WARNING: [#def325]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlquery.cpp:387:9: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  385|           bool fo = isForwardOnly();
#  386|           *this = QSqlQuery(driver()->createResult());
#  387|->         d->sqlResult->setNumericalPrecisionPolicy(d->sqlResult->numericalPrecisionPolicy());
#  388|           setForwardOnly(fo);
#  389|       } else {

Error: CLANG_WARNING: [#def326]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlquery.cpp:492:12: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  490|   const QSqlDriver *QSqlQuery::driver() const
#  491|   {
#  492|->     return d->sqlResult->driver();
#  493|   }
#  494|   

Error: CLANG_WARNING: [#def327]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/sql/kernel/qsqlquery.cpp:900:5: warning[cplusplus.NewDelete]: Use of memory after it is freed
#  898|   void QSqlQuery::setForwardOnly(bool forward)
#  899|   {
#  900|->     d->sqlResult->setForwardOnly(forward);
#  901|   }
#  902|   

Error: CLANG_WARNING: [#def328]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/moc/moc.cpp:785:26: warning[deadcode.DeadStores]: Although the value stored to 't' is used in the enclosing expression, the value is never actually read from 't'
#  783|                       def.qualified.prepend(namespaceList.at(i).classname + "::");
#  784|               while (inClass(&def) && hasNext()) {
#  785|->                 switch ((t = next())) {
#  786|                   case PRIVATE:
#  787|                       access = FunctionDef::Private;

Error: CLANG_WARNING: [#def329]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/moc/preprocessor.cpp:328:25: warning[deadcode.DeadStores]: Value stored to 'column' is never read
#  326|                   case WHITESPACE:
#  327|                       if (column == 1)
#  328|->                         column = 0;
#  329|                       while (*data && (*data == ' ' || *data == '\t'))
#  330|                           ++data;

Error: CLANG_WARNING: [#def330]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/moc/preprocessor.cpp:485:17: warning[deadcode.DeadStores]: Value stored to 'token' is never read
#  483|                       ++data;
#  484|                   }
#  485|->                 token = PP_WHITESPACE; // one comment, one whitespace
#  486|                   Q_FALLTHROUGH();
#  487|               case PP_WHITESPACE:

Error: CLANG_WARNING: [#def331]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:103:15: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  101|   
#  102|         _M_current_value = text;
#  103|->       return (token = STRING_LITERAL);
#  104|       }
#  105|   

Error: CLANG_WARNING: [#def332]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:112:15: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  110|         while (ch.isLetterOrNumber () || ch == QLatin1Char ('_') || ch == QLatin1Char ('.'));
#  111|         _M_current_value = text;
#  112|->       return (token = ID);
#  113|       }
#  114|   

Error: CLANG_WARNING: [#def333]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:126:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  124|   
#  125|         if (text == QLatin1String("token_prefix"))
#  126|->         return (token = TOKEN_PREFIX);
#  127|         else if (text == QLatin1String("merged_output"))
#  128|           return (token = MERGED_OUTPUT);

Error: CLANG_WARNING: [#def334]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:128:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  126|           return (token = TOKEN_PREFIX);
#  127|         else if (text == QLatin1String("merged_output"))
#  128|->         return (token = MERGED_OUTPUT);
#  129|         else if (text == QLatin1String("token"))
#  130|           return (token = TOKEN);

Error: CLANG_WARNING: [#def335]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:130:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  128|           return (token = MERGED_OUTPUT);
#  129|         else if (text == QLatin1String("token"))
#  130|->         return (token = TOKEN);
#  131|         else if (text == QLatin1String("start"))
#  132|           return (token = START);

Error: CLANG_WARNING: [#def336]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:132:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  130|           return (token = TOKEN);
#  131|         else if (text == QLatin1String("start"))
#  132|->         return (token = START);
#  133|         else if (text == QLatin1String("parser"))
#  134|           return (token = PARSER);

Error: CLANG_WARNING: [#def337]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:134:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  132|           return (token = START);
#  133|         else if (text == QLatin1String("parser"))
#  134|->         return (token = PARSER);
#  135|         else if (text == QLatin1String("decl"))
#  136|           return (token = DECL_FILE);

Error: CLANG_WARNING: [#def338]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:136:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  134|           return (token = PARSER);
#  135|         else if (text == QLatin1String("decl"))
#  136|->         return (token = DECL_FILE);
#  137|         else if (text == QLatin1String("impl"))
#  138|           return (token = IMPL_FILE);

Error: CLANG_WARNING: [#def339]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:138:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  136|           return (token = DECL_FILE);
#  137|         else if (text == QLatin1String("impl"))
#  138|->         return (token = IMPL_FILE);
#  139|         else if (text == QLatin1String("expect"))
#  140|           return (token = EXPECT);

Error: CLANG_WARNING: [#def340]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:140:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  138|           return (token = IMPL_FILE);
#  139|         else if (text == QLatin1String("expect"))
#  140|->         return (token = EXPECT);
#  141|         else if (text == QLatin1String("expect-rr"))
#  142|           return (token = EXPECT_RR);

Error: CLANG_WARNING: [#def341]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:142:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  140|           return (token = EXPECT);
#  141|         else if (text == QLatin1String("expect-rr"))
#  142|->         return (token = EXPECT_RR);
#  143|         else if (text == QLatin1String("left"))
#  144|           return (token = LEFT);

Error: CLANG_WARNING: [#def342]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:144:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  142|           return (token = EXPECT_RR);
#  143|         else if (text == QLatin1String("left"))
#  144|->         return (token = LEFT);
#  145|         else if (text == QLatin1String("right"))
#  146|           return (token = RIGHT);

Error: CLANG_WARNING: [#def343]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:146:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  144|           return (token = LEFT);
#  145|         else if (text == QLatin1String("right"))
#  146|->         return (token = RIGHT);
#  147|         else if (text == QLatin1String("nonassoc"))
#  148|           return (token = NONASSOC);

Error: CLANG_WARNING: [#def344]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:148:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  146|           return (token = RIGHT);
#  147|         else if (text == QLatin1String("nonassoc"))
#  148|->         return (token = NONASSOC);
#  149|         else if (text == QLatin1String("prec"))
#  150|           return (token = PREC);

Error: CLANG_WARNING: [#def345]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:150:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  148|           return (token = NONASSOC);
#  149|         else if (text == QLatin1String("prec"))
#  150|->         return (token = PREC);
#  151|         else
#  152|           {

Error: CLANG_WARNING: [#def346]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:172:17: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  170|         inp ();
#  171|         if (ch != QLatin1Char ('='))
#  172|->         return (token = ERROR);
#  173|         inp ();
#  174|         return (token = COLON);

Error: CLANG_WARNING: [#def347]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:174:15: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  172|           return (token = ERROR);
#  173|         inp ();
#  174|->       return (token = COLON);
#  175|       }
#  176|   

Error: CLANG_WARNING: [#def348]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:201:21: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  199|   
#  200|             if (ch != QLatin1Char ('/'))
#  201|->             return (token = ERROR);
#  202|   
#  203|             inp ();

Error: CLANG_WARNING: [#def349]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:208:23: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  206|               {
#  207|                 _M_current_value = text;
#  208|->               return (token = DECL);
#  209|               }
#  210|             else

Error: CLANG_WARNING: [#def350]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:240:21: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  238|   
#  239|             if (ch != QLatin1Char ('/'))
#  240|->             return (token = ERROR);
#  241|   
#  242|             inp ();

Error: CLANG_WARNING: [#def351]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:247:23: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  245|               {
#  246|                 _M_current_value = text;
#  247|->               return (token = IMPL);
#  248|               }
#  249|             else

Error: CLANG_WARNING: [#def352]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:256:13: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  254|     switch (token) {
#  255|     case ':':
#  256|->     return (token = COLON);
#  257|   
#  258|     case ';':

Error: CLANG_WARNING: [#def353]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:259:13: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  257|   
#  258|     case ';':
#  259|->     return (token = SEMICOLON);
#  260|   
#  261|     case '|':

Error: CLANG_WARNING: [#def354]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/tools/qlalr/recognizer.cpp:262:13: warning[deadcode.DeadStores]: Although the value stored to 'token' is used in the enclosing expression, the value is never actually read from 'token'
#  260|   
#  261|     case '|':
#  262|->     return (token = OR);
#  263|   
#  264|     default:

Error: CLANG_WARNING: [#def355]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/effects/qpixmapfilter.cpp:374:21: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  372|                   int kernelPos = ys*kernelWidth+startx;
#  373|                   while (pix < endPix) {
#  374|->                     int factor = fixedKernel[kernelPos++];
#  375|                       a += (((*pix) & 0xff000000)>>24) * factor;
#  376|                       r += (((*pix) & 0x00ff0000)>>16) * factor;

Error: CLANG_WARNING: [#def356]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget.cpp:2163:37: warning[core.CallAndMessage]: Called C++ object pointer is null
# 2161|       // to point to the first item in the scene's focus chain. Then first or
# 2162|       // second are set to point to tabFocusFirst.
# 2163|->     QGraphicsScenePrivate *sceneD = scene->d_func();
# 2164|       if (!first) {
# 2165|           sceneD->tabFocusFirst = second;

Error: CLANG_WARNING: [#def357]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget_p.cpp:458:11: warning[deadcode.DeadStores]: Value stored to 'middlew' during its initialization is never read
#  456|       qreal maxh = current.height();
#  457|   
#  458|->     qreal middlew = maxw;
#  459|       qreal middleh = maxh;
#  460|       qreal min_hfw;

Error: CLANG_WARNING: [#def358]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget_p.cpp:459:11: warning[deadcode.DeadStores]: Value stored to 'middleh' during its initialization is never read
#  457|   
#  458|       qreal middlew = maxw;
#  459|->     qreal middleh = maxh;
#  460|       qreal min_hfw;
#  461|       min_hfw = minimumHeightForWidth(maxw, minh, maxh, widget);

Error: CLANG_WARNING: [#def359]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget_p.cpp:461:5: warning[deadcode.DeadStores]: Value stored to 'min_hfw' is never read
#  459|       qreal middleh = maxh;
#  460|       qreal min_hfw;
#  461|->     min_hfw = minimumHeightForWidth(maxw, minh, maxh, widget);
#  462|   
#  463|       do {

Error: CLANG_WARNING: [#def360]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget_p.cpp:789:5: warning[core.CallAndMessage]: Called C++ object pointer is null
#  787|       // detach from current focus chain; skip this widget subtree.
#  788|       focusBefore->d_func()->focusNext = focusAfter;
#  789|->     focusAfter->d_func()->focusPrev = focusBefore;
#  790|   
#  791|       if (newParent) {

Error: CLANG_WARNING: [#def361]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/graphicsview/qgraphicswidget_p.cpp:805:9: warning[core.CallAndMessage]: Called C++ object pointer is null
#  803|           newFocusLast->d_func()->focusNext = q;
#  804|           focusLast->d_func()->focusNext = newFocusAfter;
#  805|->         newFocusAfter->d_func()->focusPrev = focusLast;
#  806|           focusPrev = newFocusLast;
#  807|       } else {

Error: COMPILER_WARNING: [#def362]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/qstyleditemdelegate.h:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/include/QtWidgets/QStyledItemDelegate:1: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/tools/settingseditor/variantdelegate.h:54: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/tools/settingseditor/settingstree.cpp:52: included_from: Included from here.
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/itemviews/qstyleditemdelegate.h:88:21: warning[-Woverloaded-virtual=]: ‘virtual QString QStyledItemDelegate::displayText(const QVariant&, const QLocale&) const’ was hidden
#   88 |     virtual QString displayText(const QVariant &value, const QLocale &locale) const;
#      |                     ^~~~~~~~~~~
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/examples/widgets/tools/settingseditor/variantdelegate.h:94:20: note:   by ‘static QString VariantDelegate::displayText(const QVariant&)’
#   94 |     static QString displayText(const QVariant &value);
#      |                    ^~~~~~~~~~~
#   86|       void setItemEditorFactory(QItemEditorFactory *factory);
#   87|   
#   88|->     virtual QString displayText(const QVariant &value, const QLocale &locale) const;
#   89|   
#   90|   protected:

Error: CLANG_WARNING: [#def363]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qcommonstyle.cpp:4955:33: warning[deadcode.DeadStores]: Value stored to 'h' during its initialization is never read
# 4953|               bool checkable = mi->menuHasCheckableItems;
# 4954|               int maxpmw = mi->maxIconWidth;
# 4955|->             int w = sz.width(), h = sz.height();
# 4956|               if (mi->menuItemType == QStyleOptionMenuItem::Separator) {
# 4957|                   w = 10;

Error: CLANG_WARNING: [#def364]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qdrawutil.cpp:943:11: warning[deadcode.DeadStores]: Value stored to 'dx' during its initialization is never read
#  941|       yTarget[rows] = targetRect.top() + targetRect.height();
#  942|   
#  943|->     qreal dx = targetCenterWidth;
#  944|       qreal dy = targetCenterHeight;
#  945|   

Error: CLANG_WARNING: [#def365]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qdrawutil.cpp:944:11: warning[deadcode.DeadStores]: Value stored to 'dy' during its initialization is never read
#  942|   
#  943|       qreal dx = targetCenterWidth;
#  944|->     qreal dy = targetCenterHeight;
#  945|   
#  946|       switch (rules.horizontal) {

Error: CLANG_WARNING: [#def366]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qfusionstyle.cpp:1845:17: warning[deadcode.DeadStores]: Value stored to 'x1' is never read
# 1843|                   rect = QRect(tmp.y(), tmp.x(), tmp.height(), tmp.width());
# 1844|                   int temp = x1;
# 1845|->                 x1 = y1;
# 1846|                   y1 = temp;
# 1847|                   temp = x2;

Error: CLANG_WARNING: [#def367]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qfusionstyle.cpp:1846:17: warning[deadcode.DeadStores]: Value stored to 'y1' is never read
# 1844|                   int temp = x1;
# 1845|                   x1 = y1;
# 1846|->                 y1 = temp;
# 1847|                   temp = x2;
# 1848|                   x2 = y2;

Error: CLANG_WARNING: [#def368]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qfusionstyle.cpp:1848:17: warning[deadcode.DeadStores]: Value stored to 'x2' is never read
# 1846|                   y1 = temp;
# 1847|                   temp = x2;
# 1848|->                 x2 = y2;
# 1849|                   y2 = temp;
# 1850|               }

Error: CLANG_WARNING: [#def369]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/styles/qfusionstyle.cpp:1849:17: warning[deadcode.DeadStores]: Value stored to 'y2' is never read
# 1847|                   temp = x2;
# 1848|                   x2 = y2;
# 1849|->                 y2 = temp;
# 1850|               }
# 1851|   

Error: CLANG_WARNING: [#def370]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/util/qscroller.cpp:1793:9: warning[deadcode.DeadStores]: Value stored to 'oldOvershootX' is never read
# 1791|   
# 1792|       if (sp->overshootDragResistanceFactor) {
# 1793|->         oldOvershootX *= sp->overshootDragResistanceFactor;
# 1794|           oldOvershootY *= sp->overshootDragResistanceFactor;
# 1795|           newOvershootX *= sp->overshootDragResistanceFactor;

Error: CLANG_WARNING: [#def371]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/util/qscroller.cpp:1794:9: warning[deadcode.DeadStores]: Value stored to 'oldOvershootY' is never read
# 1792|       if (sp->overshootDragResistanceFactor) {
# 1793|           oldOvershootX *= sp->overshootDragResistanceFactor;
# 1794|->         oldOvershootY *= sp->overshootDragResistanceFactor;
# 1795|           newOvershootX *= sp->overshootDragResistanceFactor;
# 1796|           newOvershootY *= sp->overshootDragResistanceFactor;

Error: CLANG_WARNING: [#def372]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/util/qscroller.cpp:1934:21: warning[deadcode.DeadStores]: Value stored to 'bestSnapPosDist' is never read
# 1932|                       qAbs(snapPosDist) < bestSnapPosDist ) {
# 1933|                       bestSnapPos = snapPos;
# 1934|->                     bestSnapPosDist = qAbs(snapPosDist);
# 1935|                   }
# 1936|               }

Error: CLANG_WARNING: [#def373]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/util/qscroller.cpp:1981:21: warning[deadcode.DeadStores]: Value stored to 'bestSnapPosDist' is never read
# 1979|                       qAbs(snapPosDist) < bestSnapPosDist) {
# 1980|                       bestSnapPos = snapPos;
# 1981|->                     bestSnapPosDist = qAbs(snapPosDist);
# 1982|                   }
# 1983|               }

Error: CLANG_WARNING: [#def374]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qcalendarwidget.cpp:1127:20: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1125|   
# 1126|       QTextCharFormat format;
# 1127|->     format.setFont(m_view->font());
# 1128|       bool header = (m_weekNumbersShown && col == HeaderColumn)
# 1129|                     || (m_horizontalHeaderFormat != QCalendarWidget::NoHorizontalHeader && row == HeaderRow);

Error: CLANG_WARNING: [#def375]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qlabel.cpp:1717:12: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1715|           return nullptr;
# 1716|   
# 1717|->     return control->createStandardContextMenu(p, q_func());
# 1718|   }
# 1719|   #endif

Error: CLANG_WARNING: [#def376]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qmainwindow.cpp:1314:13: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1312|   #if QT_CONFIG(toolbar)
# 1313|           case QEvent::ToolBarChange: {
# 1314|->             d->layout->toggleToolBarsVisible();
# 1315|               return true;
# 1316|           }

Error: CLANG_WARNING: [#def377]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qmainwindow.cpp:1322:34: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1320|           case QEvent::StatusTip:
# 1321|   #if QT_CONFIG(statusbar)
# 1322|->             if (QStatusBar *sb = d->layout->statusBar())
# 1323|                   sb->showMessage(static_cast<QStatusTipEvent*>(event)->tip());
# 1324|               else

Error: CLANG_WARNING: [#def378]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qmainwindow.cpp:1332:13: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1330|           case QEvent::StyleChange:
# 1331|   #if QT_CONFIG(dockwidget)
# 1332|->             d->layout->layoutState.dockAreaLayout.styleChangedEvent();
# 1333|   #endif
# 1334|               if (!d->explicitIconSize)

Error: CLANG_WARNING: [#def379]
qt5-qtbase-5.15.14-build/qtbase-everywhere-src-5.15.14/src/widgets/widgets/qsplitter.cpp:669:13: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value
#  667|       getRange(index, farMin, min, max, farMax);
#  668|   
#  669|->     if (pos >= *min) {
#  670|           if (pos <= *max) {
#  671|               return pos;

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-12.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameqt5-qtbase-5.15.14-1.fc41
store-results-to/tmp/tmp5biurnu4/qt5-qtbase-5.15.14-1.fc41.tar.xz
time-created2024-07-03 18:23:57
time-finished2024-07-03 19:13:29
toolcsmock
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'
tool-versioncsmock-3.5.3-1.el9