qt5base-lts/tests/auto/corelib/kernel
Jędrzej Nowacki ecdccce8e4 Fix warnings about uninitialized variables
qtbase/src/corelib/kernel/qmetatype.cpp: In static member function ‘static void QMetaType::destroy(int, void*)’:
qtbase/src/corelib/kernel/qmetatype.cpp:2599:27: error: ‘info.QMetaType::m_destructor’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (m_typedDestructor && !m_destructor)
         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
qtbase/src/corelib/kernel/qmetatype.cpp:1868:15: note: ‘info.QMetaType::m_destructor’ was declared here
     QMetaType info(type);
               ^~~~
qtbase/src/corelib/kernel/qmetatype.cpp:2600:26: error: ‘info.QMetaType::m_typedDestructor’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         m_typedDestructor(m_typeId, data);
         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
qtbase/src/corelib/kernel/qmetatype.cpp:1868:15: note: ‘info.QMetaType::m_typedDestructor’ was declared here
     QMetaType info(type);
               ^~~~

The extended (not inlined) function may be called on a half
initialized invalid instance.

Change-Id: I26d677a8ad2bd0c5846233f06393e774d377936d
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-01-06 10:14:36 +00:00
..
qcoreapplication Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qdeadlinetimer Increase the resolution for QDeadlineTimer unit test 2016-10-26 03:16:26 +00:00
qelapsedtimer Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.13 2018-07-31 05:02:30 +00:00
qeventdispatcher tests: Distinguish tst_qeventdispatcher and tst_qguieventdispatcher 2018-11-16 14:16:09 +00:00
qeventloop tst_QEventLoop: Remove unconditional qWait() 2018-04-10 08:32:21 +00:00
qmath Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
qmetaenum QMetaEnum: fix UB 2018-10-17 08:48:13 +00:00
qmetamethod Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qmetaobject Add debug output for single enum flags 2018-08-11 20:09:55 +00:00
qmetaobjectbuilder Fix QMetaObject naming of class enum flag 2018-08-11 07:59:15 +00:00
qmetaproperty Updated license headers 2016-01-21 18:55:18 +00:00
qmetatype Fix warnings about uninitialized variables 2019-01-06 10:14:36 +00:00
qmimedata Updated license headers 2016-01-21 18:55:18 +00:00
qobject Fix a nullptr compile error with gcc 4.8 2018-11-30 14:50:00 +00:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory tst_qsharedmemory: Use qt_test_helper functionality 2018-07-31 05:26:59 +00:00
qsignalblocker Updated license headers 2016-01-21 18:55:18 +00:00
qsignalmapper Updated license headers 2016-01-21 18:55:18 +00:00
qsocketnotifier winrt: Fix tst_QSocketNotifier::asyncMultipleDatagram 2017-05-11 06:37:36 +00:00
qsystemsemaphore tst_qsystemsemaphore: Use qt_test_helper functionality 2018-07-31 05:27:08 +00:00
qtimer Revert "Blacklist tst_QTimer::basic_chrono on macOS" 2019-01-04 09:45:41 +00:00
qtranslator Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
qvariant Treat shorts as int in QVariant::canConvert() 2018-11-01 17:31:13 +00:00
qwineventnotifier Merge remote-tracking branch 'origin/5.11' into dev 2018-03-28 08:12:21 +02:00
kernel.pro Make tests compile for Android 2018-06-25 08:01:19 +00:00