fix compiler warning
diff --git a/src/plugin_xmms/http.c b/src/plugin_xmms/http.c
index cf81bf1..af3235f 100644
--- a/src/plugin_xmms/http.c
+++ b/src/plugin_xmms/http.c
@@ -355,7 +355,8 @@
 	gchar line[1024], *user, *pass, *host, *filename,
 	     *status, *url, *temp, *file;
 	gchar *chost;
-	gint cnt, error, err_len, port, cport;
+	gint cnt, error, port, cport;
+	socklen_t err_len;
 	gboolean redirect;
 	int udp_sock = 0;
 	fd_set set;
diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c
index 387ec32..b387531 100644
--- a/src/test_libFLAC/metadata_manip.c
+++ b/src/test_libFLAC/metadata_manip.c
@@ -315,7 +315,7 @@
 
 		if(FLAC__metadata_chain_check_if_tempfile_needed(chain, use_padding)) {
 			struct stat stats;
-			FILE *file, *tempfile;
+			FILE *file, *tempfile = 0;
 			char *tempfilename;
 			if(preserve_file_stats) {
 				if(!get_file_stats_(filename, &stats))