diff blastem.c @ 425:8b3ae850d1c4

Forgot to null initialize the statfile pointer
author Mike Pavone <pavone@retrodev.com>
date Sat, 29 Jun 2013 17:21:19 -0700
parents 7e8e179116af
children 7f84090ab1cd 7696d824489d
line wrap: on
line diff
--- a/blastem.c	Sat Jun 29 17:15:08 2013 -0700
+++ b/blastem.c	Sat Jun 29 17:21:19 2013 -0700
@@ -1884,7 +1884,7 @@
 	int debug = 0;
 	int ym_log = 0;
 	FILE *address_log = NULL;
-	char * statefile;
+	char * statefile = NULL;
 	for (int i = 2; i < argc; i++) {
 		if (argv[i][0] == '-') {
 			switch(argv[i][1]) {