diff options
| author | Martin Ridgers <[email protected]> | 2021-11-01 10:32:15 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-01 10:32:15 +0100 |
| commit | 89bfb07a3f794b6a4d53cb442ea6f8fd021bbd3a (patch) | |
| tree | 825bd1b0ec25feac76ff7e02c9d7fa559e656625 /zencore/memory.cpp | |
| parent | Fixed up some assumptions that satd::fs::path uses wchar_t (diff) | |
| parent | Minor cleanup (diff) | |
| download | zen-89bfb07a3f794b6a4d53cb442ea6f8fd021bbd3a.tar.xz zen-89bfb07a3f794b6a4d53cb442ea6f8fd021bbd3a.zip | |
Merged main
Diffstat (limited to 'zencore/memory.cpp')
| -rw-r--r-- | zencore/memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/memory.cpp b/zencore/memory.cpp index ad211280d..4053e85f9 100644 --- a/zencore/memory.cpp +++ b/zencore/memory.cpp @@ -186,13 +186,13 @@ TEST_CASE("ChunkingLinearAllocator") TEST_CASE("MemoryView") { { - uint8_t Array1[16]; + uint8_t Array1[16] = {}; MemoryView View1 = MakeMemoryView(Array1); CHECK(View1.GetSize() == 16); } { - uint32_t Array2[16]; + uint32_t Array2[16] = {}; MemoryView View2 = MakeMemoryView(Array2); CHECK(View2.GetSize() == 64); } |