[libcxx-commits] [PATCH] D104235: [libc++abi] NFC: avoid a -Wunused-parameter warning
Xing Xue via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 14 11:27:08 PDT 2021
xingxue updated this revision to Diff 351936.
xingxue added a comment.
Addressed the comment on fixing the unused parameter `base`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104235/new/
https://reviews.llvm.org/D104235
Files:
libcxxabi/src/cxa_personality.cpp
Index: libcxxabi/src/cxa_personality.cpp
===================================================================
--- libcxxabi/src/cxa_personality.cpp
+++ libcxxabi/src/cxa_personality.cpp
@@ -245,7 +245,7 @@
/// @returns decoded value
static
uintptr_t
-readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t base = 0)
+readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t /*base*/ = 0)
{
uintptr_t result = 0;
if (encoding == DW_EH_PE_omit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104235.351936.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210614/78ef3463/attachment.bin>
More information about the libcxx-commits
mailing list