1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:26:44 +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

@ -235,7 +235,7 @@ void graceful_clear(void)
void *do_playing(void *_p)
{
(void)_p;
UNUSED_VAR(_p);
while (true) {
control_lock();
@ -334,7 +334,7 @@ int play_source(uint32_t source, uint32_t buffer, bool looping)
#elif BOX_NOTIFY
void *do_playing(void *_p)
{
(void)_p;
UNUSED_VAR(_p);
while (true) {
control_lock();