summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgen.c b/cgen.c
index e98224b..ec4c6ab 100644
--- a/cgen.c
+++ b/cgen.c
@@ -564,7 +564,7 @@ static bool cgen_new_slice(CGenerator *g, Type *t, IdentID id, Location where) {
}
static bool cgen_expr_pre(CGenerator *g, Expression *e) {
- IdentID id;
+ IdentID id = 0;
char ret_name[64];
switch (e->kind) {
case EXPR_IF: