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:
@ -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();
|
||||
|
Reference in New Issue
Block a user