diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:18:32 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:18:32 +0000 |
commit | b6881345860b7ea1465e746b33d15c8e9be3e505 (patch) | |
tree | d16adcac8c0f49cc32afb2adc49cd736b0e41f4b /src/decode.c | |
parent | 0c46dd68318ea20cb65adae433c3f8793ce73435 (diff) | |
download | mpd-b6881345860b7ea1465e746b33d15c8e9be3e505.tar.gz mpd-b6881345860b7ea1465e746b33d15c8e9be3e505.tar.xz mpd-b6881345860b7ea1465e746b33d15c8e9be3e505.zip |
remove the local variable "end"
"end" is not being used anymore, since we moved most OutputBuffer
struct accesses into methods.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7314 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/decode.c b/src/decode.c index 77488483a..57bc9a65c 100644 --- a/src/decode.c +++ b/src/decode.c @@ -411,7 +411,6 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * int decodeWaitedOn = 0; static const char silence[CHUNK_SIZE]; double sizeToTime = 0.0; - unsigned int end; /** the position of the first chunk in the next song */ int next = -1; @@ -512,10 +511,6 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * doCrossFade = -1; } - /* copy these to local variables to prevent any potential - race conditions and weirdness */ - end = cb->end; - if (do_pause) player_sleep(); else if (!outputBufferEmpty(cb) && (int)cb->begin != next) { |