Remove the UNUSED macro

This commit is contained in:
Chris Robinson
2019-07-28 17:15:34 -07:00
parent c8bbd75bf9
commit b4d56d3fdf
29 changed files with 96 additions and 126 deletions
+1 -1
View File
@@ -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;
-12
View File
@@ -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 {