diff options
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 { |