From 13c66526ed56c25dc5b06a585fac86084fa9d95e Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Thu, 17 Sep 2020 06:52:39 +0200 Subject: [PATCH] Fix wanjochan commit 'when tcc1 omit: use main()' when tcc is bootstrapped by tcc on Windows. Variable must be NULL initialized --- tccpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccpe.c b/tccpe.c index e8fd5cf4..358b7f6a 100644 --- a/tccpe.c +++ b/tccpe.c @@ -1862,7 +1862,7 @@ static void tcc_add_support(TCCState *s1, const char *filename) static void pe_add_runtime(TCCState *s1, struct pe_info *pe) { - const char *start_symbol; + const char *start_symbol = NULL; int pe_type = 0; int unicode_entry = 0;