mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-30 12:20:06 +08:00
Fix wanjochan commit 'when tcc1 omit: use main()' when tcc is bootstrapped by tcc on Windows. Variable must be NULL initialized
This commit is contained in:
parent
15182d7fdd
commit
13c66526ed
2
tccpe.c
2
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)
|
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 pe_type = 0;
|
||||||
int unicode_entry = 0;
|
int unicode_entry = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user