diff src/flac/plugin.c @ 1190:ed2d7787779e trunk

more warning elimination.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 21 Jun 2007 17:33:00 +0900
parents cb1502e462f9
children
line wrap: on
line diff
--- a/src/flac/plugin.c	Wed Jun 20 22:27:48 2007 +0300
+++ b/src/flac/plugin.c	Thu Jun 21 17:33:00 2007 +0900
@@ -145,7 +145,7 @@
 static FLAC__byte sample_buffer_[SAMPLE_BUFFER_SIZE];
 static unsigned sample_buffer_first_, sample_buffer_last_;
 
-static FLAC__StreamDecoder *decoder_ = 0, *decoder2 = 0;
+static FLAC__StreamDecoder *decoder_ = 0;
 static stream_data_struct stream_data_;
 static GThread *decode_thread_;
 static FLAC__bool audio_error_ = false;
@@ -166,6 +166,7 @@
 	}
 }
 
+#if 0
 static gchar* homedir()
 {
 	gchar *result;
@@ -183,12 +184,12 @@
 	}
 	return result;
 }
+#endif
 
 void FLAC_XMMS__init()
 {
 	ConfigDb *db;
 	FLAC__uint32 test = 1;
-	gchar *tmp = NULL;
 
 	is_big_endian_host_ = (*((FLAC__byte*)(&test)))? false : true;