Commit 36f7d0a6 authored by Josh Coalson's avatar Josh Coalson
Browse files

fix warning about unused vars

parent 709b7fce
......@@ -659,6 +659,8 @@ FLAC__StreamEncoderWriteStatus write_callback_(const FLAC__StreamEncoder *unused
OggFLAC__StreamEncoder *encoder = (OggFLAC__StreamEncoder*)client_data;
ogg_packet packet;
const FLAC__uint64 total_samples_estimate = FLAC__stream_encoder_get_total_samples_estimate(encoder->private_->FLAC_stream_encoder);
(void)unused;
FLAC__ASSERT(encoder->private_->FLAC_stream_encoder == unused);
encoder->private_->samples_written += samples;
......
......@@ -368,6 +368,7 @@ FLAC__bool FLAC_plugin__id3v2_tag_get(const char *filename, FLAC_Plugin__Canonic
#ifdef FLAC__HAS_ID3LIB
return local__get_tag(filename, tag);
#else
(void)filename, (void)tag;
return false;
#endif
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment