1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-15 20:56:42 +02:00

Fix unused variable warnings and change all (void)s to UNUSED macro

This commit is contained in:
jfreegman
2020-03-30 12:56:42 -04:00
parent 46513017e3
commit ddc8c53abf
9 changed files with 32 additions and 14 deletions

View File

@@ -28,6 +28,7 @@
#include "line_info.h"
#include "settings.h"
#include "misc_tools.h"
#include <AL/al.h>
#include <AL/alc.h>
@@ -456,7 +457,7 @@ void *thread_poll(void *arg) // TODO: maybe use thread for every input source
/*
* NOTE: We only need to poll input devices for data.
*/
(void)arg;
UNUSED_VAR(arg);
uint32_t i;
int32_t sample = 0;