mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-09 12:58:41 +03:00
fix C++ compilation warnings with VisualStudio 2017
This commit is contained in:
parent
c3528203b5
commit
7e743dfb58
5 changed files with 15 additions and 10 deletions
|
@ -106,8 +106,8 @@ void* mi_zalloc(size_t size) mi_attr_noexcept {
|
|||
// multi-threaded free
|
||||
static mi_decl_noinline void _mi_free_block_mt(mi_page_t* page, mi_block_t* block)
|
||||
{
|
||||
mi_thread_free_t tfree;
|
||||
mi_thread_free_t tfreex;
|
||||
mi_thread_free_t tfree = {0};
|
||||
mi_thread_free_t tfreex = {0};
|
||||
bool use_delayed;
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue