Misc: More warning fixes

This commit is contained in:
Connor McLaughlin
2022-08-10 14:33:20 +10:00
parent 0f198cbe3a
commit 916900be5d
11 changed files with 18 additions and 18 deletions

View File

@ -24,9 +24,7 @@
// unreferenced parameter macro
#ifndef UNREFERENCED_VARIABLE
#if defined(_MSC_VER)
#define UNREFERENCED_VARIABLE(P) (P)
#elif defined(__GNUC__) || defined(__clang__) || defined(__EMSCRIPTEN__)
#if defined(__GNUC__) || defined(__clang__) || defined(__EMSCRIPTEN__)
#define UNREFERENCED_VARIABLE(P) (void)(P)
#else
#define UNREFERENCED_VARIABLE(P) (P)