diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2002-12-23 19:50:59 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2002-12-23 19:50:59 +0000 |
commit | 36f7d0a64d8ac4af062b9a379e1c341fc4b93174 (patch) | |
tree | d386ddf95a42c5a0baf2843cb4c5e46cc98c7718 /src | |
parent | 709b7fcef47ee65cfb96c894df791a5c50be668a (diff) | |
download | flac-36f7d0a64d8ac4af062b9a379e1c341fc4b93174.tar.gz |
fix warning about unused vars
Diffstat (limited to 'src')
-rw-r--r-- | src/libOggFLAC/stream_encoder.c | 2 | ||||
-rw-r--r-- | src/plugin_common/id3v2.c | 1 |
2 files changed, 3 insertions, 0 deletions
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 } |