From 54abef2624524d1cfd3ebc25aebfa8cd5fdea3fc Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 10 Nov 2017 09:41:45 +0300 Subject: [PATCH] Fix unused parameter warning triggering --- src/serialization.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/serialization.h b/src/serialization.h index 54d5d26..ad71e6d 100644 --- a/src/serialization.h +++ b/src/serialization.h @@ -79,6 +79,9 @@ public: } // allocate how much you need in the first place assert(!originalPtr && !originalSize); + // unused parameter warning + (void)(originalPtr); + (void)(originalSize); return Malloc(newSize); } static void Free(void* ptr)