aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-26 03:31:21 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-26 03:31:21 +0000
commit2fa3e8ab26ffedb10787144ff4ed4315f3fbc7ab (patch)
tree523ecd726bcb67b5cabb07f344b3ca7ad84e830c /src
parentfaa3debe8e572c3d475dff5ac7b4c0010577c4ab (diff)
downloadmpd-2fa3e8ab26ffedb10787144ff4ed4315f3fbc7ab.tar.gz
mpd-2fa3e8ab26ffedb10787144ff4ed4315f3fbc7ab.tar.xz
mpd-2fa3e8ab26ffedb10787144ff4ed4315f3fbc7ab.zip
Silence a gcc warning... Properly.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4469 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mp3_plugin.c4
1 files changed, 3 insertions, 1 deletions
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;