Misc: More warning fixes

This commit is contained in:
Connor McLaughlin committed 2022-08-10 14:33:31 +10:00
1 parent 0f198cbe3a
commit 916900be5d
11 files changed
+18 -18

No files matched your search

+1 -3
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)