fix compiler warning

This commit is contained in:
Josh Coalson
2007-09-12 02:08:27 +00:00
parent d7e09a291c
commit 939dba945b
2 changed files with 3 additions and 2 deletions

View File

@@ -355,7 +355,8 @@ static int http_connect (gchar *url_, gboolean head, guint64 offset)
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;

View File

@@ -315,7 +315,7 @@ static FLAC__bool write_chain_(FLAC__Metadata_Chain *chain, FLAC__bool use_paddi
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))