diff options
| author | Léo Lam <leo@leolam.fr> | 2021-10-13 21:52:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-13 21:52:22 +0200 |
| commit | 023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (patch) | |
| tree | 93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | a0a91ec4b86b16624b2da7000a0f54852cd33872 (diff) | |
| parent | 78bfd25964206a1f0a34170fdd90ca1a8ce242db (diff) | |
Merge pull request #10085 from Pokechu22/C26495
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) \ |
