diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 17:05:34 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 17:05:34 +0200 |
commit | 85fe6ecc32ace7fcf119d9b492e37cd627ae7e4d (patch) | |
tree | f6f386733d5ecc86364fffeef7402dc2af0227dd /core/templates | |
parent | 14e1f36e614686f3fea0c74fac3624d1027dd5cc (diff) |
Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/paged_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/paged_array.h b/core/templates/paged_array.h index f1ede556e6..2992dd463e 100644 --- a/core/templates/paged_array.h +++ b/core/templates/paged_array.h @@ -268,7 +268,7 @@ public: uint32_t remainder = count & page_size_mask; T *remainder_page = nullptr; - uint32_t remainder_page_id; + uint32_t remainder_page_id = 0; if (remainder > 0) { uint32_t last_page = _get_pages_in_use() - 1; |