mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
fix more warnings on mingw build
This commit is contained in:
parent
c1c848516c
commit
91222691cb
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ static void mi_process_done(void) {
|
||||||
|
|
||||||
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) {
|
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) {
|
||||||
UNUSED(reserved);
|
UNUSED(reserved);
|
||||||
|
UNUSED(inst);
|
||||||
if (reason==DLL_PROCESS_ATTACH) {
|
if (reason==DLL_PROCESS_ATTACH) {
|
||||||
mi_process_init();
|
mi_process_init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue