changeset 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 add9e2f5c0e3
files blastem.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]) {