summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 2c97b550..552a3bcb 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -61,7 +61,7 @@
::HIR::PatternBinding binding;
if( pat.binding() != "" )
{
- ::HIR::PatternBinding::Type bt;
+ ::HIR::PatternBinding::Type bt = ::HIR::PatternBinding::Type::Move;
switch(pat.binding_type())
{
case ::AST::Pattern::BIND_MOVE: bt = ::HIR::PatternBinding::Type::Move; break;