From: Debian Qt/KDE Maintainers Date: Fri, 13 Jan 2023 08:01:44 +0000 (+0000) Subject: build fixes for GCC 11 X-Git-Tag: archive/raspbian/5.15.8+dfsg-2+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=25ce958fab5d9639088cb51e0846a9102055f5c4;p=qtdeclarative-opensource-src.git build fixes for GCC 11 Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=eb6525f126f680f9 Last-Update: 2022-11-05 Gbp-Pq: Name gcc_11.patch --- 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); }