aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-12 21:21:55 +0000
committergingerBill <bill@gingerbill.org>2017-12-12 21:21:55 +0000
commit78b459590c5b81ece8747cc2fdbb01e2b8dbdd42 (patch)
tree186e41061bc6d67551953be2f49f2297e55ef5e8 /src/checker.cpp
parentf7e9649be466ea03f556e2918063c5a4d0d28e2e (diff)
Print `nil` for nil procedures in fmt.odin
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index b352ab780..c56b0d284 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -802,6 +802,7 @@ GB_COMPARE_PROC(entity_variable_pos_cmp) {
void check_scope_usage(Checker *c, Scope *scope) {
// TODO(bill): Use this?
+#if 0
Array<Entity *> unused = {};
array_init(&unused, heap_allocator());
defer (array_free(&unused));
@@ -827,6 +828,7 @@ void check_scope_usage(Checker *c, Scope *scope) {
check_scope_usage(c, child);
}
}
+#endif
}