[hackers] [scc] [cc2-qbe] fix uninitialized haslabel in code.c || Quentin Rameau
commit af7c7f190ab22c8b2af33c6a308dbe71ee8d19f7
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Jun 21 20:51:37 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Tue Jun 21 21:01:39 2016 +0200
[cc2-qbe] fix uninitialized haslabel in code.c
diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c
index 120e9bf..8f10fe8 100644
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
_AT_@ -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);
Received on Tue Jun 21 2016 - 21:03:01 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 21 2016 - 21:12:18 CEST