commit af7c7f190ab22c8b2af33c6a308dbe71ee8d19f7
Author:     Quentin Rameau <[email protected]>
AuthorDate: Tue Jun 21 20:51:37 2016 +0200
Commit:     Quentin Rameau <[email protected]>
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
@@ -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);

Reply via email to