mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fix compiler warning
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user