diff options
Diffstat (limited to 'common/almalloc.cpp')
-rw-r--r-- | common/almalloc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/almalloc.cpp b/common/almalloc.cpp index 6dcb6cfc..7e83672b 100644 --- a/common/almalloc.cpp +++ b/common/almalloc.cpp @@ -88,9 +88,7 @@ size_t al_get_page_size(void) noexcept #ifdef _WIN32 if(!psize) { - SYSTEM_INFO sysinfo; - memset(&sysinfo, 0, sizeof(sysinfo)); - + SYSTEM_INFO sysinfo{}; GetSystemInfo(&sysinfo); psize = sysinfo.dwPageSize; } |