Commit 939dba94 authored by Josh Coalson's avatar Josh Coalson
Browse files

fix compiler warning

parent d7e09a29
......@@ -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;
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment