mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix error: control reaches end of non-void function
This commit is contained in:
parent
d2b418bb70
commit
a48a171e8f
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,7 @@ std::string TD_TL_writer_hpp::gen_additional_proxy_function_begin(const std::str
|
|||
"switch (obj.get_id()) {";
|
||||
}
|
||||
assert(false);
|
||||
return "";
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_hpp::gen_additional_proxy_function_case(const std::string &function_name,
|
||||
|
@ -261,6 +262,7 @@ std::string TD_TL_writer_hpp::gen_additional_proxy_function_case(const std::stri
|
|||
" return true;\n";
|
||||
}
|
||||
assert(false);
|
||||
return "";
|
||||
}
|
||||
|
||||
std::string TD_TL_writer_hpp::gen_additional_proxy_function_end(const std::string &function_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue