diff options
author | borman <borman@yandex-team.com> | 2022-10-03 10:05:34 +0300 |
---|---|---|
committer | borman <borman@yandex-team.com> | 2022-10-03 10:05:34 +0300 |
commit | 5812ed3a1b8358e96b34d1ae85e83dc6ab356deb (patch) | |
tree | 97541e0b6271e9cd3745ab073abc3574c0edf68e | |
parent | e310568785b85b8f52ce3c6cb4b99bd4b56ccea3 (diff) | |
download | ydb-5812ed3a1b8358e96b34d1ae85e83dc6ab356deb.tar.gz |
Fix warning `-Wunused-but-set-variable` cases for upgrade to Clang14
-rw-r--r-- | contrib/libs/libunwind/src/Unwind-EHABI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/libunwind/src/Unwind-EHABI.cpp b/contrib/libs/libunwind/src/Unwind-EHABI.cpp index 21c8b2777b..2b21f0a3dd 100644 --- a/contrib/libs/libunwind/src/Unwind-EHABI.cpp +++ b/contrib/libs/libunwind/src/Unwind-EHABI.cpp @@ -261,7 +261,7 @@ _Unwind_VRS_Interpret(_Unwind_Context *context, const uint32_t *data, size_t offset, size_t len) { bool wrotePC = false; bool finish = false; - bool hasReturnAddrAuthCode = false; + bool hasReturnAddrAuthCode [[maybe_unused]] = false; while (offset < len && !finish) { uint8_t byte = getByte(data, offset++); if ((byte & 0x80) == 0) { |