scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit af7c7f190ab22c8b2af33c6a308dbe71ee8d19f7
parent 92ec299f9e82a1b01725030914fcb48727a3b296
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 21 Jun 2016 20:51:37 +0200

[cc2-qbe] fix uninitialized haslabel in code.c

Diffstat:
Mcc2/arch/qbe/code.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c @@ -304,7 +304,7 @@ writeout(void) Symbol *p; Type *tp; char *sep, *name; - int haslabel; + int haslabel = 0; if (curfun->kind == SGLOB) fputs("export ", stdout);