aboutsummaryrefslogtreecommitdiff
path: root/zencore/memory.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-11-01 16:48:55 +0100
committerStefan Boberg <[email protected]>2021-11-01 16:48:55 +0100
commita8f9941f5c8dff75f606e130f7132babda6265bb (patch)
treeb5d424562420223495fdbcdd6c9dab051519e8ce /zencore/memory.cpp
parentfilecas: Fixed debug logging (diff)
parentMerged from main (diff)
downloadzen-a8f9941f5c8dff75f606e130f7132babda6265bb.tar.xz
zen-a8f9941f5c8dff75f606e130f7132babda6265bb.zip
Merge branch 'gc' of https://github.com/EpicGames/zen into gc
Diffstat (limited to 'zencore/memory.cpp')
-rw-r--r--zencore/memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/memory.cpp b/zencore/memory.cpp
index 62c81076d..14ea7ca1d 100644
--- a/zencore/memory.cpp
+++ b/zencore/memory.cpp
@@ -185,13 +185,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);
}