diff options
| author | mikhnenko <[email protected]> | 2025-09-26 16:05:56 +0300 |
|---|---|---|
| committer | mikhnenko <[email protected]> | 2025-09-26 16:36:44 +0300 |
| commit | 5f06d989f8c9230743fef30f7a9f70809b7d07a3 (patch) | |
| tree | 2e855d912a6ada03658da395f470e075e085c79d /yql/essentials/sql/v1/sql_select.cpp | |
| parent | ee38d4a04d0b4226b36bd9d548c35739f11e88f9 (diff) | |
Fix -Wunused-but-set-variable in yql
If you think that this pr has broken something for you, roll it back
If the problem is not trivial, come to [support](https://nda.ya.ru/t/a1JIzEbo78mtfQ)
Original errors you can see [here](https://nda.ya.ru/t/pFJQM0ho7KSaTN
commit_hash:77d426cfbc646733517e14e69ac61a1afedaf82f
Diffstat (limited to 'yql/essentials/sql/v1/sql_select.cpp')
| -rw-r--r-- | yql/essentials/sql/v1/sql_select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/sql/v1/sql_select.cpp b/yql/essentials/sql/v1/sql_select.cpp index 720bf607f17..ea769eb5385 100644 --- a/yql/essentials/sql/v1/sql_select.cpp +++ b/yql/essentials/sql/v1/sql_select.cpp @@ -823,7 +823,7 @@ TSourcePtr TSqlSelect::ProcessCore(const TRule_process_core& node, const TWriteS auto args = call.GetArgs(); for (auto& arg: args) { - if (auto placeholder = dynamic_cast<TTableRows*>(arg.Get())) { + if (/* auto placeholder = */ dynamic_cast<TTableRows*>(arg.Get())) { if (listCall) { Ctx_.Error() << "Only one TableRows() argument is allowed."; return nullptr; @@ -946,7 +946,7 @@ TSourcePtr TSqlSelect::ReduceCore(const TRule_reduce_core& node, const TWriteSet auto args = call.GetArgs(); for (auto& arg: args) { - if (auto placeholder = dynamic_cast<TTableRows*>(arg.Get())) { + if (/* auto placeholder = */ dynamic_cast<TTableRows*>(arg.Get())) { if (listCall) { Ctx_.Error() << "Only one TableRows() argument is allowed."; return nullptr; |
