Commit e788d9f0 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: fix warnings

parent 5cd6ebfd
......@@ -113,7 +113,7 @@ void MoveObjectBeforeObjectVisitor::doMove()
TextModifier::MoveInfo moveInfo;
Node *parent = movingObjectParent();
UiArrayMemberList *arrayMember = 0, *otherArrayMember;
UiArrayMemberList *arrayMember = 0, *otherArrayMember = 0;
QString separator;
if (!inDefaultProperty) {
......
......@@ -143,9 +143,9 @@ void QuickToolBar::apply(TextEditor::BaseTextEditorEditable *editor, LookupConte
UiObjectBinding *objectBinding = cast<UiObjectBinding*>(node);
QString name;
quint32 offset;
quint32 end;
UiObjectInitializer *initializer;
quint32 offset = 0;
quint32 end = 0;
UiObjectInitializer *initializer = 0;
if (objectDefinition) {
name = objectDefinition->qualifiedTypeNameId->name->asString();
initializer = objectDefinition->initializer;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment