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/Core/VideoCommon/CommandProcessor.h | |
| parent | 525e6b21943b09172043797535db6a2890c45805 (diff) | |
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.h')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h index e73fecfe41..66ef981cac 100644 --- a/Source/Core/VideoCommon/CommandProcessor.h +++ b/Source/Core/VideoCommon/CommandProcessor.h @@ -20,8 +20,8 @@ struct SCPFifoStruct // fifo registers std::atomic<u32> CPBase; std::atomic<u32> CPEnd; - u32 CPHiWatermark; - u32 CPLoWatermark; + u32 CPHiWatermark = 0; + u32 CPLoWatermark = 0; std::atomic<u32> CPReadWriteDistance; std::atomic<u32> CPWritePointer; std::atomic<u32> CPReadPointer; |
