Misc: More warning fixes
This commit is contained in:
1 parent
0f198cbe3a
commit
916900be5d
11 files changed
+18
-18
No files matched your search
+1
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user