diff options
| author | Mai <mai.iam2048@gmail.com> | 2023-02-16 00:56:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 00:56:01 -0500 |
| commit | 19bf13d3bb2c02f00c1fb01da6f9c6e381a087e4 (patch) | |
| tree | 81b68746766d65f7c44133440399352b1c7a66ad /Source/Core/Common/Debug/CodeTrace.h | |
| parent | 089eab96d721dc65e60090f545d41dd6bd5925e9 (diff) | |
| parent | 74a14c7d1fdbf19ecd1fedb1fcc5f664b130c355 (diff) | |
Merge pull request #11572 from Pokechu22/uninitialized-variables-feb-2023
Fix uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/Common/Debug/CodeTrace.h')
| -rw-r--r-- | Source/Core/Common/Debug/CodeTrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Debug/CodeTrace.h b/Source/Core/Common/Debug/CodeTrace.h index 15ba67036b..c47ae8e961 100644 --- a/Source/Core/Common/Debug/CodeTrace.h +++ b/Source/Core/Common/Debug/CodeTrace.h @@ -31,7 +31,7 @@ struct InstructionAttributes struct TraceOutput { - u32 address; + u32 address = 0; std::optional<u32> memory_target = std::nullopt; std::string instruction; }; |
