ref: 9863cefd5e86d5445e86a777caf7e9cdc557949c
parent: d9d61d0aaba8289ad4d0adde740b929e2e4caea4
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Mon Dec 15 03:59:37 EST 2008
tests/util.c : Make sure FILE* is closed. Thanks Erik Hovland.
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
Move variable definition out one scope level to avoid warnings from static
analysis tools. Thanks Erik Hovland.
+ * tests/util.c
+ Make sure FILE* is closed. Thanks Erik Hovland.
+
2008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/multichan_throughput_test.c
--- a/tests/util.c
+++ b/tests/util.c
@@ -188,12 +188,12 @@
} ;
} ;
- goto failed ;
-complete :
fclose (file) ;
- return ;
-failed :
puts ("Unknown") ;
+ return ;
+
+complete :
+ fclose (file) ;
return ;
} /* print_cpu_name */