changeset 116:268566dcc2c4

Fix failure in ini
author David Demelier <markand@malikania.fr>
date Thu, 16 Feb 2012 21:01:19 +0100
parents 1d0e5580d402
children bbe86bdb55da
files ini.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ini.c	Mon Feb 13 19:46:22 2012 +0100
+++ b/ini.c	Thu Feb 16 21:01:19 2012 +0100
@@ -57,7 +57,7 @@
 ini_load(const char *path, int flags)
 {
 	INI_Config *conf;	
-	FILE *fp;
+	FILE *fp = NULL;
 
 	if ((conf = calloc(1, sizeof (INI_Config))) == NULL)
 		return ini_fatal(conf, fp, "%s", strerror(errno));