diff options
| author | Per Larsson <[email protected]> | 2021-11-01 14:36:39 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-11-01 14:36:39 +0100 |
| commit | ff676a3e570563b2de32b61563b46a828437e4aa (patch) | |
| tree | 2c7799b8f525c26f18b1cccfaeefa8355f0f9798 /zencore/memory.cpp | |
| parent | Upload cache record before blobs and call finalize when processing upstream t... (diff) | |
| parent | Moved declaration of ZenDiskCacheLayer::CacheBucket in the .h (diff) | |
| download | zen-ff676a3e570563b2de32b61563b46a828437e4aa.tar.xz zen-ff676a3e570563b2de32b61563b46a828437e4aa.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
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 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); } |