diff options
author | Max Kellermann <max@duempel.org> | 2010-12-21 08:05:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-12-21 08:06:02 +0100 |
commit | fb00e7fddc0e1d03cf26533a8b64c7778e5920ae (patch) | |
tree | 0e60fe558eb79f4074cb8b29ebf22aece9ca4aa0 /src/output_thread.c | |
parent | 41fdcf328c0a08fe9adb4007a60c007167054862 (diff) | |
download | mpd-fb00e7fddc0e1d03cf26533a8b64c7778e5920ae.tar.gz mpd-fb00e7fddc0e1d03cf26533a8b64c7778e5920ae.tar.xz mpd-fb00e7fddc0e1d03cf26533a8b64c7778e5920ae.zip |
add void casts to suppress "result unused" warnings (clang)
Diffstat (limited to 'src/output_thread.c')
-rw-r--r-- | src/output_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_thread.c b/src/output_thread.c index 380956fac..a334fcef5 100644 --- a/src/output_thread.c +++ b/src/output_thread.c @@ -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; |