diff --git a/src/mem/alloc.h b/src/mem/alloc.h index aa210a0..42e58e9 100644 --- a/src/mem/alloc.h +++ b/src/mem/alloc.h @@ -837,10 +837,10 @@ namespace snmalloc { // Manufacture an allocation to prime the queue // Using an actual allocation removes a conditional of a critical path. - Remote* remote = + Remote* dummy = reinterpret_cast(alloc(MIN_ALLOC_SIZE)); - remote->set_target_id(id()); - message_queue().init(remote); + dummy->set_target_id(id()); + message_queue().init(dummy); } SNMALLOC_FAST_PATH void handle_dealloc_remote(Remote* p)