diff options
| author | levlam <levlam@telegram.org> | 2023-05-11 11:49:31 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-05-11 11:49:31 +0300 |
| commit | c92339675115e973ff41486875b7650782aa4fe7 (patch) | |
| tree | 9abe47b87c12247bc7982ab75bbf9b65464621a9 /tdtl | |
| parent | 7e82f0f8607fb16075b683edcfd010a7711c2e47 (diff) | |
Suppress warning in Release build.
Diffstat (limited to 'tdtl')
| -rw-r--r-- | tdtl/td/tl/tl_generate.cpp | 1 |
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); } |
