From 7c7b77ea3669fc04fdf0af5a7df0f34241b5f002 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 22 Sep 2025 12:28:47 -0400 Subject: [PATCH] xo-expression: compiler nit --- src/expression/typeinf/type_ref.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/expression/typeinf/type_ref.cpp b/src/expression/typeinf/type_ref.cpp index 0d155967..b6512337 100644 --- a/src/expression/typeinf/type_ref.cpp +++ b/src/expression/typeinf/type_ref.cpp @@ -32,6 +32,7 @@ namespace xo { char buf [type_var::fixed_capacity]; int n = snprintf(buf, sizeof(buf), "%s:%u", prefix.c_str(), s_counter); + (void)n; assert(n < static_cast(type_var::fixed_capacity));