jack: initialize local variable "space"

Fix a gcc warning, initialize the "space" variable at the beginning of
mpd_jack_play().
This commit is contained in:
Max Kellermann 2009-02-24 19:06:34 +01:00
parent 1630fe00a2
commit e065c4db33

View File

@ -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.");