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));