From ab469e657dcd975bbce3b7b211326363ce17ac92 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 5 Feb 2025 10:20:18 +0000 Subject: [PATCH] Remove debug code --- src/check_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;