aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-08-07 08:14:56 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-08-07 08:26:53 +0300
commit3c3fcfc0adbeeb1f013a18c1635644f2d551328a (patch)
tree18ec7eaf581209e1af0e7d63403b3ad235ab4d3a
parent86696a40333309ebaa5205608466d1e4def42878 (diff)
downloadydb-3c3fcfc0adbeeb1f013a18c1635644f2d551328a.tar.gz
Turn on unused variables warning
Если после это `pr` ломается сборка попробуйте способы решения: * Починить unused-variable в коде * Собрать с флагом `-DCFLAGS="-Wno-unused-parameter"` Если не помогает - приходите в [DEVTOOLSSUPPORT](https://st.yandex-team.ru/createTicket?queue=DEVTOOLSSUPPORT&_form=6668786540e3616bc95905d3) d45d3e8ee75f0694d7dc7ba4b68aff5b4d91abf7
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/port_def.inc2
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/port_undef.inc2
2 files changed, 1 insertions, 3 deletions
diff --git a/contrib/libs/protobuf/src/google/protobuf/port_def.inc b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
index c9ddec03cb..b4d7fbe278 100644
--- a/contrib/libs/protobuf/src/google/protobuf/port_def.inc
+++ b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
@@ -867,9 +867,7 @@
#endif // defined(__clang__) || PROTOBUF_GNUC_MIN(3, 0) || defined(_MSC_VER)
#if defined(__clang__)
-#if defined(FIX_UNUSED_PARAMETR_PLS)
#pragma clang diagnostic push
-#endif
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wshorten-64-to-32"
#endif // defined(__clang__)
diff --git a/contrib/libs/protobuf/src/google/protobuf/port_undef.inc b/contrib/libs/protobuf/src/google/protobuf/port_undef.inc
index fb22215ee8..042a75a7d3 100644
--- a/contrib/libs/protobuf/src/google/protobuf/port_undef.inc
+++ b/contrib/libs/protobuf/src/google/protobuf/port_undef.inc
@@ -154,7 +154,7 @@
#pragma GCC diagnostic pop
#endif
-#if defined(__clang__) && defined(FIX_UNUSED_PARAMETR_PLS)
+#if defined(__clang__)
#pragma clang diagnostic pop
#endif