diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-09-03 21:43:19 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-10-13 12:32:16 -0700 |
| commit | 78bfd25964206a1f0a34170fdd90ca1a8ce242db (patch) | |
| tree | 93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | 525e6b21943b09172043797535db6a2890c45805 (diff) | |
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/x64EmitterTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index 5817c912fe..dbbc6c26b4 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -163,8 +163,8 @@ protected: std::unique_ptr<X64CodeBlock> emitter; std::unique_ptr<disassembler> disasm; - u8* code_buffer; - u8* code_buffer_end; + u8* code_buffer = nullptr; + u8* code_buffer_end = nullptr; }; #define TEST_INSTR_NO_OPERANDS(Name, ExpectedDisasm) \ |
