commit de848e1c0ee2a2c8f1ee28349e41c119204db430
parent 47ca78d3a4304750ea6c453e0847139e15c2e037
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 23 Mar 2021 21:21:11 -0400
main: initialize defines to NULL
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -96,7 +96,7 @@ main(int argc, char *argv[])
struct build_tags *tags = NULL;
struct unit unit = {0};
struct lexer lexer;
- struct define *defines, *def;
+ struct define *defines = NULL, *def;
int c;
while ((c = getopt(argc, argv, "D:o:T:t:N:")) != -1) {