home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix non-initializations that are detected as errors on gcc -O3.
[plomrogue]
/
src
/
common
/
parse_file.c
diff --git
a/src/common/parse_file.c
b/src/common/parse_file.c
index ab35ab0205a7777e7e0dc4a80f9d4f9a73d7670d..50fc30d04f8e467b61341dd2532519c920edc319 100644
(file)
--- a/
src/common/parse_file.c
+++ b/
src/common/parse_file.c
@@
-64,7
+64,7
@@
extern void parse_file(char * path, void (* token_to_entry) (char *, char *))
err_line_count = 0;
err_line(0 == linemax, "File is empty.");
char * token0 = NULL; /* For final token_to_entry() if while() stagnates. */
err_line_count = 0;
err_line(0 == linemax, "File is empty.");
char * token0 = NULL; /* For final token_to_entry() if while() stagnates. */
- char * token1;
+ char * token1
= NULL
;
char * err_val = "No value given.";
while (try_fgets(err_line_line, linemax + 1, file, f_name))
{
char * err_val = "No value given.";
while (try_fgets(err_line_line, linemax + 1, file, f_name))
{