Unverified Commit b410611f authored by Pharap's avatar Pharap Committed by GitHub

Prevent possible compiler warning

Casting to void is a well known trick for prevening 'unused parameter' warnings.
parent c6ce36d5
...@@ -27,6 +27,7 @@ void *operator new[](size_t size) { ...@@ -27,6 +27,7 @@ void *operator new[](size_t size) {
} }
void * operator new(size_t size, void * ptr) { void * operator new(size_t size, void * ptr) {
(void)size;
return ptr; return ptr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment