aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/loopback.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 08:00:18 -0700
committerChris Robinson <[email protected]>2013-10-07 08:00:18 -0700
commit32e85d469b735260d827d50a6d37c0937d375914 (patch)
treedf741474c8fc9e2c3ed35652a1d837a8baed8763 /Alc/backends/loopback.c
parent1518895e15262deade1b03e29b47a3d149f73c83 (diff)
Use the UNUSED macro in the backends
Diffstat (limited to 'Alc/backends/loopback.c')
-rw-r--r--Alc/backends/loopback.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/Alc/backends/loopback.c b/Alc/backends/loopback.c
index e1bdd3c1..067e23d1 100644
--- a/Alc/backends/loopback.c
+++ b/Alc/backends/loopback.c
@@ -32,9 +32,8 @@ static ALCenum loopback_open_playback(ALCdevice *device, const ALCchar *deviceNa
return ALC_NO_ERROR;
}
-static void loopback_close_playback(ALCdevice *device)
+static void loopback_close_playback(ALCdevice *UNUSED(device))
{
- (void)device;
}
static ALCboolean loopback_reset_playback(ALCdevice *device)
@@ -43,15 +42,13 @@ static ALCboolean loopback_reset_playback(ALCdevice *device)
return ALC_TRUE;
}
-static ALCboolean loopback_start_playback(ALCdevice *device)
+static ALCboolean loopback_start_playback(ALCdevice *UNUSED(device))
{
return ALC_TRUE;
- (void)device;
}
-static void loopback_stop_playback(ALCdevice *device)
+static void loopback_stop_playback(ALCdevice *UNUSED(device))
{
- (void)device;
}
@@ -82,7 +79,6 @@ void alc_loopback_deinit(void)
{
}
-void alc_loopback_probe(enum DevProbe type)
+void alc_loopback_probe(enum DevProbe UNUSED(type))
{
- (void)type;
}