X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fcommon%2Fparse_file.c;h=50fc30d04f8e467b61341dd2532519c920edc319;hb=7433f56ec2c6cc51bc497e3c0c67d2fe3e6ab64a;hp=ab35ab0205a7777e7e0dc4a80f9d4f9a73d7670d;hpb=d361b21fb63d9e1fd2ff7774c2322fab3e4eb239;p=plomrogue diff --git a/src/common/parse_file.c b/src/common/parse_file.c index ab35ab0..50fc30d 100644 --- 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. */ - char * token1; + char * token1 = NULL; char * err_val = "No value given."; while (try_fgets(err_line_line, linemax + 1, file, f_name)) {