From ab17c49c4e29a40005f302109b55454a62780707 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 10 Nov 2018 17:15:40 +0100 Subject: [PATCH] [dxbc] Fix compiler warning about uninitialized values --- src/dxbc/dxbc_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index dda26782a..7be91c9a6 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -5126,7 +5126,7 @@ namespace dxvk { result.id = m_module.constu32(reg.imm.u32_1); } else if (reg.componentCount == DxbcComponentCount::Component4) { // Create a u32 vector with as many components as needed - std::array indices; + std::array indices = { }; uint32_t indexId = 0; for (uint32_t i = 0; i < indices.size(); i++) {