diff options
author | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
commit | b4d56d3fdff4243ae2a3fc64934ced2af3187690 (patch) | |
tree | 9a9809e2e991037aa5798a05ab7321d143b95e5f /router | |
parent | c8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff) |
Remove the UNUSED macro
Diffstat (limited to 'router')
-rw-r--r-- | router/router.cpp | 2 | ||||
-rw-r--r-- | router/router.h | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/router/router.cpp b/router/router.cpp index 5b976e95..e9173a22 100644 --- a/router/router.cpp +++ b/router/router.cpp @@ -25,7 +25,7 @@ FILE *LogFile; static void LoadDriverList(void); -BOOL APIENTRY DllMain(HINSTANCE UNUSED(module), DWORD reason, void* UNUSED(reserved)) +BOOL APIENTRY DllMain(HINSTANCE, DWORD reason, void*) { const char *str; diff --git a/router/router.h b/router/router.h index d2574e74..007b6a16 100644 --- a/router/router.h +++ b/router/router.h @@ -17,18 +17,6 @@ #include "AL/alext.h" -#ifndef UNUSED -#if defined(__cplusplus) -#define UNUSED(x) -#elif defined(__GNUC__) -#define UNUSED(x) UNUSED_##x __attribute__((unused)) -#elif defined(__LCLINT__) -#define UNUSED(x) /*@unused@*/ x -#else -#define UNUSED(x) x -#endif -#endif - #define MAKE_ALC_VER(major, minor) (((major)<<8) | (minor)) struct DriverIface { |