From e065c4db3378e9558b13f1a06dbf48d1f537dda7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Feb 2009 19:06:34 +0100 Subject: jack: initialize local variable "space" Fix a gcc warning, initialize the "space" variable at the beginning of mpd_jack_play(). --- src/output/jack_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c index 883695f5f..fa5354feb 100644 --- a/src/output/jack_plugin.c +++ b/src/output/jack_plugin.c @@ -392,7 +392,7 @@ mpd_jack_play(void *data, const void *chunk, size_t size) { struct jack_data *jd = data; const size_t frame_size = audio_format_frame_size(&jd->audio_format); - size_t space, space1; + size_t space = 0, space1; if (jd->shutdown) { g_warning("Refusing to play, because there is no client thread."); -- cgit v1.2.3