summaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common
diff options
context:
space:
mode:
authormikhnenko <[email protected]>2025-09-26 16:05:56 +0300
committermikhnenko <[email protected]>2025-09-26 16:36:44 +0300
commit5f06d989f8c9230743fef30f7a9f70809b7d07a3 (patch)
tree2e855d912a6ada03658da395f470e075e085c79d /yql/essentials/udfs/common
parentee38d4a04d0b4226b36bd9d548c35739f11e88f9 (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/udfs/common')
-rw-r--r--yql/essentials/udfs/common/yson2/yson2_udf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yql/essentials/udfs/common/yson2/yson2_udf.cpp b/yql/essentials/udfs/common/yson2/yson2_udf.cpp
index 8fe6e17e366..721280dd5c5 100644
--- a/yql/essentials/udfs/common/yson2/yson2_udf.cpp
+++ b/yql/essentials/udfs/common/yson2/yson2_udf.cpp
@@ -793,7 +793,7 @@ public:
protected:
template<bool MoreTypesAllowed>
static const TType* CheckType(const ITypeInfoHelper::TPtr typeHelper, const TType* shape) {
- switch (const auto kind = typeHelper->GetTypeKind(shape)) {
+ switch (/* const auto kind = */ typeHelper->GetTypeKind(shape)) {
case ETypeKind::Null:
case ETypeKind::Void:
case ETypeKind::EmptyList: