Suppress compiler warning.

This commit is contained in:
levlam 2022-08-14 16:41:59 +03:00
parent da9f8078b8
commit 7d1d5e636c

View File

@ -344,6 +344,7 @@ tl_config tl_config_parser::parse_config() {
std::int32_t constructors_n = try_parse_int();
assert(static_cast<std::size_t>(constructors_n) == constructors_total);
(void)constructors_total;
for (std::int32_t i = 0; i < constructors_n; i++) {
tl_combinator *constructor = read_combinator();
config.get_type(constructor->type_id)->add_constructor(constructor);