Skip to content
Snippets Groups Projects
Commit 2d41159d authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlLivePreview: avoid compiler warnings on gcc on mac

Reviewed-by: Roberto Raggi
parent 2a59ef83
No related branches found
No related tags found
No related merge requests found
......@@ -350,8 +350,9 @@ void Delta::insert(UiObjectMember *member, UiObjectMember *parentMember, const Q
if (!member || !parentMember)
return;
unsigned begin, end, startColumn, startLine;
bool accepted = false;
// initialized with garbage
unsigned begin = 1, end = 2, startColumn = 3, startLine = 4;
// create new objects
if (UiObjectDefinition* uiObjectDef = cast<UiObjectDefinition *>(member)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment