summaryrefslogtreecommitdiff
path: root/lib/inih/ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inih/ini.c')
-rw-r--r--lib/inih/ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inih/ini.c b/lib/inih/ini.c
index a632d0a144..68a356f817 100644
--- a/lib/inih/ini.c
+++ b/lib/inih/ini.c
@@ -96,7 +96,6 @@ int ini_parse_stream(ini_reader reader, FILE* stream, ini_handler handler,
char section[MAX_SECTION] = "";
char prev_name[MAX_NAME] = "";
- char* start;
char* end;
char* name;
char* value;
@@ -118,6 +117,7 @@ int ini_parse_stream(ini_reader reader, FILE* stream, ini_handler handler,
/* Scan through stream line by line */
while (reader(line, max_line, stream) != NULL) {
+ char* start;
#if INI_ALLOW_REALLOC && !INI_USE_STACK
offset = strlen(line);
while (offset == max_line - 1 && line[offset - 1] != '\n') {