From 4979e606c36fdca886f82b0dd8c0db17374ab8f6 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 5 Sep 2016 16:18:49 -0400 Subject: fix gcc 5.4.0compile errors --- src/parseh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parseh.cpp') diff --git a/src/parseh.cpp b/src/parseh.cpp index fb2605a0e6..64838bb496 100644 --- a/src/parseh.cpp +++ b/src/parseh.cpp @@ -1205,7 +1205,7 @@ static void visit_var_decl(Context *c, const VarDecl *var_decl) { emit_warning(c, var_decl, "ignoring variable '%s' - unable to evaluate initializer\n", buf_ptr(name)); return; } - AstNode *init_node; + AstNode *init_node = nullptr; switch (ap_value->getKind()) { case APValue::Int: { -- cgit v1.2.3