From b4d56d3fdff4243ae2a3fc64934ced2af3187690 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Jul 2019 17:15:34 -0700 Subject: Remove the UNUSED macro --- Alc/backends/winmm.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Alc/backends/winmm.cpp') diff --git a/Alc/backends/winmm.cpp b/Alc/backends/winmm.cpp index f23ac53c..57abee06 100644 --- a/Alc/backends/winmm.cpp +++ b/Alc/backends/winmm.cpp @@ -169,8 +169,7 @@ void CALLBACK WinMMPlayback::waveOutProcC(HWAVEOUT device, UINT msg, DWORD_PTR i * Posts a message to 'WinMMPlayback::mixerProc' everytime a WaveOut Buffer is * completed and returns to the application (for more data) */ -void CALLBACK WinMMPlayback::waveOutProc(HWAVEOUT UNUSED(device), UINT msg, - DWORD_PTR UNUSED(param1), DWORD_PTR UNUSED(param2)) +void CALLBACK WinMMPlayback::waveOutProc(HWAVEOUT, UINT msg, DWORD_PTR, DWORD_PTR) { if(msg != WOM_DONE) return; mWritable.fetch_add(1, std::memory_order_acq_rel); @@ -414,8 +413,7 @@ void CALLBACK WinMMCapture::waveInProcC(HWAVEIN device, UINT msg, DWORD_PTR inst * Posts a message to 'WinMMCapture::captureProc' everytime a WaveIn Buffer is * completed and returns to the application (with more data). */ -void CALLBACK WinMMCapture::waveInProc(HWAVEIN UNUSED(device), UINT msg, - DWORD_PTR UNUSED(param1), DWORD_PTR UNUSED(param2)) +void CALLBACK WinMMCapture::waveInProc(HWAVEIN, UINT msg, DWORD_PTR, DWORD_PTR) { if(msg != WIM_DATA) return; mReadable.fetch_add(1, std::memory_order_acq_rel); -- cgit v1.2.3