From b8b21c4f4a6b80dfab57c10e5903fbf81e7f058e 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 --- xo-expression/src/expression/typeinf/type_ref.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xo-expression/src/expression/typeinf/type_ref.cpp b/xo-expression/src/expression/typeinf/type_ref.cpp index 0d155967..b6512337 100644 --- a/xo-expression/src/expression/typeinf/type_ref.cpp +++ b/xo-expression/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));