diff options
Diffstat (limited to 'src/parseh.cpp')
| -rw-r--r-- | src/parseh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: { |
