diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:16:44 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:16:44 +0000 |
commit | 9cfb4c0390bde730011874cdd8cc62fb0a5da6ea (patch) | |
tree | c4c069321fb1c69edcbf3b7af8443db16cd3e0c4 /src/pcm_utils.c | |
parent | e566c4c64cbfae1141bb8619c6f4029fedc68ad6 (diff) | |
download | mpd-9cfb4c0390bde730011874cdd8cc62fb0a5da6ea.tar.gz mpd-9cfb4c0390bde730011874cdd8cc62fb0a5da6ea.tar.xz mpd-9cfb4c0390bde730011874cdd8cc62fb0a5da6ea.zip |
decode: fix some uninitialized variable warnings
They're probably not needed, but less noise => faster debugging
git-svn-id: https://svn.musicpd.org/mpd/trunk@7302 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/pcm_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c index 9a443962d..628c524d2 100644 --- a/src/pcm_utils.c +++ b/src/pcm_utils.c @@ -394,7 +394,7 @@ size_t pcm_convertAudioFormat(AudioFormat * inFormat, const char *inBuffer, char *outBuffer, ConvState *convState) { const char *buf; - size_t len; + size_t len = 0; size_t outSize = pcm_sizeOfConvBuffer(inFormat, inSize, outFormat); assert(outFormat->bits == 16); |