aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2008-12-17 15:49:41 +0100
committerMax Kellermann <max@duempel.org>2008-12-17 15:56:43 +0100
commitc584d6b087031db1afe28a0f6444aad7cd1a6d24 (patch)
treef1aa1b9109d65e9bfbf0f51fbda2047360e39866 /src/output/osx_plugin.c
parentc36a6b0aee4d300f0aa9e491bc49fa1b7cc740da (diff)
downloadmpd-c584d6b087031db1afe28a0f6444aad7cd1a6d24.tar.gz
mpd-c584d6b087031db1afe28a0f6444aad7cd1a6d24.tar.xz
mpd-c584d6b087031db1afe28a0f6444aad7cd1a6d24.zip
Remove useless statement, curpos is initialized at the beginning of the loop.
Diffstat (limited to 'src/output/osx_plugin.c')
-rw-r--r--src/output/osx_plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index ba44a8678..a00fbdbdd 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -344,7 +344,6 @@ osx_play(void *data, const char *playChunk, size_t size)
}
memcpy(od->buffer + curpos, playChunk, bytesToCopy);
- curpos += bytesToCopy;
playChunk += bytesToCopy;
}