add void casts to suppress "result unused" warnings (clang)

This commit is contained in:
Max Kellermann
2010-12-21 08:05:36 +01:00
parent 41fdcf328c
commit fb00e7fddc
3 changed files with 4 additions and 3 deletions

View File

@@ -303,7 +303,7 @@ ao_wait(struct audio_output *ao)
GTimeVal tv;
g_get_current_time(&tv);
g_time_val_add(&tv, delay * 1000);
g_cond_timed_wait(ao->cond, ao->mutex, &tv);
(void)g_cond_timed_wait(ao->cond, ao->mutex, &tv);
if (ao->command != AO_COMMAND_NONE)
return false;