aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-12 20:23:36 +0000
committergingerBill <bill@gingerbill.org>2017-12-12 20:23:36 +0000
commit054e24103329022b1d918505cc5a61f8540c0e13 (patch)
tree08e98ddd2d162cc0d4a99c11e8f6a67569a7a142 /src/check_stmt.cpp
parentf7e9649be466ea03f556e2918063c5a4d0d28e2e (diff)
Localize checker data
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 140e5a5ea..31caca15a 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -845,7 +845,7 @@ void check_type_switch_stmt(Checker *c, AstNode *node, u32 mod_flags) {
}
- Map<bool> seen = {}; // Multimap
+ Map<bool> seen = {}; // Multimap, Key: Type *
map_init(&seen, heap_allocator());
for_array(i, bs->stmts) {