aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-02-05 10:20:18 +0000
committergingerBill <bill@gingerbill.org>2025-02-05 10:20:18 +0000
commitab469e657dcd975bbce3b7b211326363ce17ac92 (patch)
tree5d96b5a251d207ffbc6d31d7b65da21669160e84 /src
parente967f4596f8b4fe345d8a1cd655ec91782be077a (diff)
Remove debug code
Diffstat (limited to 'src')
-rw-r--r--src/check_decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index 4e44aadaf..9084f15f0 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -865,7 +865,7 @@ gb_internal Entity *init_entity_foreign_library(CheckerContext *ctx, Entity *e)
error(ident, "Undeclared name: %.*s", LIT(name));
}
} else if (found->kind != Entity_LibraryName) {
- error(ident, "'%.*s' cannot be used as a library name %d", LIT(name), found->kind);
+ error(ident, "'%.*s' cannot be used as a library name", LIT(name));
} else {
// TODO(bill): Extra stuff to do with library names?
*foreign_library = found;