aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-12 02:23:36 +0200
committerMax Kellermann <max@duempel.org>2014-07-12 02:23:36 +0200
commiteabec967ec3e431c10f50e5e83331ea0e5a4950f (patch)
treeb75a7cd586f71ddbe32e45337322b845119086a5 /src
parente42b152037d5d7697bb6775d9fb72c8b051d0d9c (diff)
downloadmpd-eabec967ec3e431c10f50e5e83331ea0e5a4950f.tar.gz
mpd-eabec967ec3e431c10f50e5e83331ea0e5a4950f.tar.xz
mpd-eabec967ec3e431c10f50e5e83331ea0e5a4950f.zip
DecoderBuffer: remove unused method _is_full()
Diffstat (limited to 'src')
-rw-r--r--src/decoder/DecoderBuffer.cxx6
-rw-r--r--src/decoder/DecoderBuffer.hxx4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/decoder/DecoderBuffer.cxx b/src/decoder/DecoderBuffer.cxx
index 9eb468b67..b337cbc0b 100644
--- a/src/decoder/DecoderBuffer.cxx
+++ b/src/decoder/DecoderBuffer.cxx
@@ -75,12 +75,6 @@ decoder_buffer_get_stream(const DecoderBuffer *buffer)
return *buffer->is;
}
-bool
-decoder_buffer_is_full(const DecoderBuffer *buffer)
-{
- return buffer->consumed == 0 && buffer->length == buffer->size;
-}
-
void
decoder_buffer_clear(DecoderBuffer *buffer)
{
diff --git a/src/decoder/DecoderBuffer.hxx b/src/decoder/DecoderBuffer.hxx
index 0e4b1d5ce..ad9750eda 100644
--- a/src/decoder/DecoderBuffer.hxx
+++ b/src/decoder/DecoderBuffer.hxx
@@ -58,10 +58,6 @@ gcc_pure
const InputStream &
decoder_buffer_get_stream(const DecoderBuffer *buffer);
-gcc_pure
-bool
-decoder_buffer_is_full(const DecoderBuffer *buffer);
-
void
decoder_buffer_clear(DecoderBuffer *buffer);