summaryrefslogtreecommitdiff
path: root/src/test_libFLAC
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 02:08:27 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 02:08:27 +0000
commit939dba945b2ad4701f4b0e48bd253bba632313ad (patch)
tree12141f8efb758afc6e588e5a92ee2b3b17a99773 /src/test_libFLAC
parentd7e09a291c25a56111bc4c66faee0fc966e55a03 (diff)
downloadflac-939dba945b2ad4701f4b0e48bd253bba632313ad.tar.gz
fix compiler warning
Diffstat (limited to 'src/test_libFLAC')
-rw-r--r--src/test_libFLAC/metadata_manip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c
index 387ec32b..b3875318 100644
--- a/src/test_libFLAC/metadata_manip.c
+++ b/src/test_libFLAC/metadata_manip.c
@@ -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))