diff options
author | Chris Robinson <[email protected]> | 2013-10-07 08:00:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-07 08:00:18 -0700 |
commit | 32e85d469b735260d827d50a6d37c0937d375914 (patch) | |
tree | df741474c8fc9e2c3ed35652a1d837a8baed8763 /Alc/backends/dsound.c | |
parent | 1518895e15262deade1b03e29b47a3d149f73c83 (diff) |
Use the UNUSED macro in the backends
Diffstat (limited to 'Alc/backends/dsound.c')
-rw-r--r-- | Alc/backends/dsound.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c index be0a373f..9727dd2a 100644 --- a/Alc/backends/dsound.c +++ b/Alc/backends/dsound.c @@ -128,7 +128,7 @@ static ALCboolean DSoundLoad(void) } -static BOOL CALLBACK DSoundEnumPlaybackDevices(LPGUID guid, LPCSTR desc, LPCSTR drvname, LPVOID data) +static BOOL CALLBACK DSoundEnumPlaybackDevices(LPGUID guid, LPCSTR desc, LPCSTR UNUSED(drvname), LPVOID UNUSED(data)) { LPOLESTR guidstr = NULL; char str[1024]; @@ -137,9 +137,6 @@ static BOOL CALLBACK DSoundEnumPlaybackDevices(LPGUID guid, LPCSTR desc, LPCSTR int count; ALuint i; - (void)data; - (void)drvname; - if(!guid) return TRUE; @@ -178,7 +175,7 @@ static BOOL CALLBACK DSoundEnumPlaybackDevices(LPGUID guid, LPCSTR desc, LPCSTR } -static BOOL CALLBACK DSoundEnumCaptureDevices(LPGUID guid, LPCSTR desc, LPCSTR drvname, LPVOID data) +static BOOL CALLBACK DSoundEnumCaptureDevices(LPGUID guid, LPCSTR desc, LPCSTR UNUSED(drvname), LPVOID UNUSED(data)) { LPOLESTR guidstr = NULL; char str[1024]; @@ -187,9 +184,6 @@ static BOOL CALLBACK DSoundEnumCaptureDevices(LPGUID guid, LPCSTR desc, LPCSTR d int count; ALuint i; - (void)data; - (void)drvname; - if(!guid) return TRUE; |