aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-24 19:06:37 +0100
committerMax Kellermann <max@duempel.org>2009-02-24 19:06:37 +0100
commit2054464c01091af51d18a348e797cea26696676d (patch)
tree86448577e55cbe87881a19e2bf7ac15989b90954
parente065c4db3378e9558b13f1a06dbf48d1f537dda7 (diff)
downloadmpd-2054464c01091af51d18a348e797cea26696676d.tar.gz
mpd-2054464c01091af51d18a348e797cea26696676d.tar.xz
mpd-2054464c01091af51d18a348e797cea26696676d.zip
vorbis_encoder: vorbis_encoder_clear() returns void
Don't return an uninitialized bool variable.
-rw-r--r--src/encoder/vorbis_encoder.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c
index 6b4ec5e73..a4f427ef5 100644
--- a/src/encoder/vorbis_encoder.c
+++ b/src/encoder/vorbis_encoder.c
@@ -214,18 +214,14 @@ vorbis_encoder_open(struct encoder *_encoder,
return true;
}
-static bool
+static void
vorbis_encoder_clear(struct vorbis_encoder *encoder)
{
- bool ret;
-
vorbis_comment_clear(&encoder->vc);
ogg_stream_clear(&encoder->os);
vorbis_block_clear(&encoder->vb);
vorbis_dsp_clear(&encoder->vd);
vorbis_info_clear(&encoder->vi);
-
- return ret;
}
static void