From 7a9a0db90626192c8fdedd217f798e56fb67604b Mon Sep 17 00:00:00 2001 From: Debian Qt/KDE Maintainers Date: Thu, 28 Jan 2021 10:25:24 +0000 Subject: [PATCH] build fixes for GCC 11 Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=eb6525f126f680f9 Last-Update: 2021-01-26 Gbp-Pq: Name gcc_11.patch --- src/qml/compiler/qv4bytecodegenerator_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/compiler/qv4bytecodegenerator_p.h b/src/qml/compiler/qv4bytecodegenerator_p.h index 1895a34a6..5244c443c 100644 --- a/src/qml/compiler/qv4bytecodegenerator_p.h +++ b/src/qml/compiler/qv4bytecodegenerator_p.h @@ -186,13 +186,13 @@ QT_WARNING_POP Q_REQUIRED_RESULT Jump jumpNotUndefined() { - Instruction::JumpNotUndefined data; + Instruction::JumpNotUndefined data{}; return addJumpInstruction(data); } Q_REQUIRED_RESULT Jump jumpNoException() { - Instruction::JumpNoException data; + Instruction::JumpNoException data{}; return addJumpInstruction(data); } -- 2.30.2