[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 13:06:23 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
xingxue marked an inline comment as done.
Closed by commit rGecb68f1c8b11: [libc++abi] NFC: avoid a -Wunused-parameter warning (authored by xingxue).

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.351975.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210614/4d4b788e/attachment.bin>


More information about the libcxx-commits mailing list