~daker/ubuntu-ui-toolkit/fix.1630872

Viewing all changes in revision 2167.

  • Committer: Tarmac
  • Author(s): Albert Astals Cid
  • Date: 2017-02-01 19:36:17 UTC
  • mfrom: (2166.1.1 staging)
  • Revision ID: tarmac-20170201193617-qt87r2plllvtdt82
Fix conditional jump or move depends on uninitialised value(s)

    Valgrind says
    ==11560== Conditional jump or move depends on uninitialised value(s)
    ==11560== at 0x2D64BC9F: getVerticalPositioningMode (ucslotslayout.cpp:75)
    ==11560== by 0x2D64BC9F: UCSlotsLayoutPrivate::updateTopBottomPaddingIfNeeded() (ucslotslayout.cpp:82)
    ==11560== by 0x2D64CEA9: UCSlotsLayoutPrivate::_q_updateGuValues() (ucslotslayout.cpp:211)
    ==11560== by 0x2D64CEFA: UCSlotsLayoutPrivate::init() (ucslotslayout.cpp:50)
    ==11560== by 0x2D63DE88: UCListItemLayout::UCListItemLayout(QQuickItem*) (uclistitemlayout.cpp:353)
    ==11560== by 0x2D60037F: QQmlElement (qqmlprivate.h:99)
    ==11560== by 0x2D60037F: void QQmlPrivate::createInto<UCListItemLayout>(void*) (qqmlprivate.h:108)
    ==11560== by 0x6BD1C98: QQmlType::create() const (qqmlmetatype.cpp:746)
    ==11560== by 0x6C33F3B: QQmlObjectCreator::createInstance(int, QObject*, bool) (qqmlobjectcreator.cpp:1080)
    ==11560== by 0x6C3645E: QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (qqmlobjectcreator.cpp:776)
    ==11560== by 0x6C366C7: QQmlObjectCreator::setupBindings(QBitArray const&) (qqmlobjectcreator.cpp:728)
    ==11560== by 0x6C33655: QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (qqmlobjectcreator.cpp:1355)
    ==11560== by 0x6C34236: QQmlObjectCreator::createInstance(int, QObject*, bool) (qqmlobjectcreator.cpp:1202)
    ==11560== by 0x6C34A55: QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (qqmlobjectcreator.cpp:204)
.

Approved by ubuntu-sdk-build-bot, Andrea Bernabei.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: