aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-03 11:59:52 +0000
committergingerBill <bill@gingerbill.org>2023-01-03 11:59:52 +0000
commit252be0fb417f9cdde5e9c4b348cd995a20433aea (patch)
treea1125ba7c12d9b3cb2787080a5f027b08c199c18 /src/check_stmt.cpp
parent600f2b7284b8974a18827242c18e790dab0cf06a (diff)
Make all maps use heap allocator implicitly
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 945ba8f02..7192b16b5 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -929,7 +929,6 @@ gb_internal void check_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags
}
SeenMap seen = {}; // NOTE(bill): Multimap, Key: ExactValue
- map_init(&seen, heap_allocator());
defer (map_destroy(&seen));
for_array(stmt_index, bs->stmts) {