mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 23:54:21 +01:00
Fix unused parameter warning triggering
This commit is contained in:
parent
c5d70514ac
commit
54abef2624
@ -79,6 +79,9 @@ public:
|
|||||||
}
|
}
|
||||||
// allocate how much you need in the first place
|
// allocate how much you need in the first place
|
||||||
assert(!originalPtr && !originalSize);
|
assert(!originalPtr && !originalSize);
|
||||||
|
// unused parameter warning
|
||||||
|
(void)(originalPtr);
|
||||||
|
(void)(originalSize);
|
||||||
return Malloc(newSize);
|
return Malloc(newSize);
|
||||||
}
|
}
|
||||||
static void Free(void* ptr)
|
static void Free(void* ptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user