fix warning about unused vars
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 23 Dec 2002 19:50:59 +0000 (19:50 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 23 Dec 2002 19:50:59 +0000 (19:50 +0000)
src/libOggFLAC/stream_encoder.c
src/plugin_common/id3v2.c

index 4c065a4..336dc01 100644 (file)
@@ -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;
index e017c0a..1870a7a 100644 (file)
@@ -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
 }