aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdtl
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-05-11 11:49:31 +0300
committerlevlam <levlam@telegram.org>2023-05-11 11:49:31 +0300
commitc92339675115e973ff41486875b7650782aa4fe7 (patch)
tree9abe47b87c12247bc7982ab75bbf9b65464621a9 /tdtl
parent7e82f0f8607fb16075b683edcfd010a7711c2e47 (diff)
Suppress warning in Release build.
Diffstat (limited to 'tdtl')
-rw-r--r--tdtl/td/tl/tl_generate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdtl/td/tl/tl_generate.cpp b/tdtl/td/tl/tl_generate.cpp
index 6c02eee30..7da82f93b 100644
--- a/tdtl/td/tl/tl_generate.cpp
+++ b/tdtl/td/tl/tl_generate.cpp
@@ -449,6 +449,7 @@ void write_class(tl_outputer &out, const tl_type *t, const std::set<std::string>
std::fprintf(stderr, "Skip complex constructor %s of %s\n", t->constructors[i]->name.c_str(), t->name.c_str());
}
}
+ (void)written_constructors;
assert(written_constructors == t->simple_constructors);
}