diff --git a/src/libOggFLAC/stream_encoder.c b/src/libOggFLAC/stream_encoder.c index 4c065a48..336dc013 100644 --- a/src/libOggFLAC/stream_encoder.c +++ b/src/libOggFLAC/stream_encoder.c @@ -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; diff --git a/src/plugin_common/id3v2.c b/src/plugin_common/id3v2.c index e017c0ac..1870a7ae 100644 --- a/src/plugin_common/id3v2.c +++ b/src/plugin_common/id3v2.c @@ -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 }