Fix unused parameter warning triggering

This commit is contained in:
Ivan Molodetskikh 2017-11-10 09:41:45 +03:00 committed by Chris Marsh
parent c5d70514ac
commit 54abef2624

View File

@ -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)