From 2fa3e8ab26ffedb10787144ff4ed4315f3fbc7ab Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Wed, 26 Jul 2006 03:31:21 +0000 Subject: Silence a gcc warning... Properly. git-svn-id: https://svn.musicpd.org/mpd/trunk@4469 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/mp3_plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index d2c293e79..c016a9ad6 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -617,7 +617,9 @@ static int decodeFirstFrame(mp3DecodeData * data, DecoderControl * dc, int ret; int skip; - xing.flags = 0; /* stfu gcc */ + /* stfu gcc */ + memset(&xing, 0, sizeof(struct xing)); + xing.flags = 0; while (1) { skip = 0; -- cgit v1.2.3