From: Josh Coalson Date: Mon, 23 Dec 2002 19:50:59 +0000 (+0000) Subject: fix warning about unused vars X-Git-Tag: 1.2.0~1230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36f7d0a64d8ac4af062b9a379e1c341fc4b93174;p=platform%2Fupstream%2Fflac.git fix warning about unused vars --- diff --git a/src/libOggFLAC/stream_encoder.c b/src/libOggFLAC/stream_encoder.c index 4c065a4..336dc01 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 e017c0a..1870a7a 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 }