diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 20:47:50 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 20:47:50 +0200 |
commit | e5857bd6c79e9201d8f49ac335b2da9142afc39c (patch) | |
tree | b8ed4d5aa4c18f7351b374b2b10c593f68348be1 /core | |
parent | 0dd308cedd7a8ddd20e93dabe32aef4a9340d5d5 (diff) | |
parent | 85fe6ecc32ace7fcf119d9b492e37cd627ae7e4d (diff) |
Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703
Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used
Diffstat (limited to 'core')
-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; |