From ecf08ab61fe49101b6c769badf362d21d8699df4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 23 Aug 2025 17:32:37 -0400 Subject: Fix some LSP issues, mostly unused imports --- src/stdlib/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stdlib/text.c') diff --git a/src/stdlib/text.c b/src/stdlib/text.c index 6e2e9072..b246b6ce 100644 --- a/src/stdlib/text.c +++ b/src/stdlib/text.c @@ -1784,7 +1784,7 @@ public Int_t Text$memory_size(Text_t text) return Int$plus( Int$from_int64((int64_t)sizeof(Text_t)), Int$plus(Text$memory_size(*text.left), Text$memory_size(*text.right))); - default: errx(1, "Invalid text tag: ", text.tag); + default: errx(1, "Invalid text tag: %d", text.tag); } } @@ -1799,7 +1799,7 @@ public Text_t Text$layout(Text_t text) return Texts(Text("Blob("), Int64$as_text((int64_t[1]){text.length}, false, NULL), Text(")")); case TEXT_CONCAT: return Texts(Text("Concat("), Text$layout(*text.left), Text(", "), Text$layout(*text.right), Text(")")); - default: errx(1, "Invalid text tag: ", text.tag); + default: errx(1, "Invalid text tag: %d", text.tag); } } -- cgit v1.2.3