vorbis_encoder: vorbis_encoder_clear() returns void

Don't return an uninitialized bool variable.
This commit is contained in:
Max Kellermann 2009-02-24 19:06:37 +01:00
parent e065c4db33
commit 2054464c01

View File

@ -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