Fix compiler warning on gcc

Change-Id: I9a1b7d1ec9c0a66a34418ae3822b96c1c0d3eb86
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Lars Knoll 2017-09-01 09:39:30 +02:00
parent ef4b896d29
commit 85697da6e1
1 changed files with 1 additions and 1 deletions

View File

@ -3110,7 +3110,6 @@ QT_WARNING_DISABLE_GCC("-Wmaybe-uninitialized") // the loads below are empty str
} else if (constant == Encode::undefined()) {
Instruction::LoadUndefined load;
codegen->bytecodeGenerator->addInstruction(load);
QT_WARNING_POP
} else {
Value p = Primitive::fromReturnedValue(constant);
if (p.isNumber()) {
@ -3132,6 +3131,7 @@ QT_WARNING_POP
load.index = codegen->registerConstant(constant);
codegen->bytecodeGenerator->addInstruction(load);
}
QT_WARNING_POP
} return;
case StackSlot: {
Instruction::LoadReg load;