build fixes for GCC 11
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 4 Feb 2021 17:36:43 +0000 (17:36 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 4 Feb 2021 17:36:43 +0000 (17:36 +0000)
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

index 1895a34a68df18d3d1aeb79bf16899fb6a4a1d93..5244c443c4503e5c0e588524c754009efe6239d3 100644 (file)
@@ -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);
     }