aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-12-21 08:05:36 +0100
committerMax Kellermann <max@duempel.org>2010-12-21 08:06:02 +0100
commitfb00e7fddc0e1d03cf26533a8b64c7778e5920ae (patch)
tree0e60fe558eb79f4074cb8b29ebf22aece9ca4aa0 /src/output_thread.c
parent41fdcf328c0a08fe9adb4007a60c007167054862 (diff)
downloadmpd-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.c2
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;