[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:28:59 PDT 2021


xingxue marked an inline comment as done.
xingxue added inline comments.


================
Comment at: libcxxabi/src/cxa_personality.cpp:248-254
 readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t base = 0)
 {
+    // Parameter 'base' will be used by a follow-on patch. Before that patch
+    // is landed the following statement is to avoid the -Wunused-parameter
+    // warning for now.
+    (void)base;
+
----------------
ldionne wrote:
> 
Changed as suggested, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104235/new/

https://reviews.llvm.org/D104235



More information about the libcxx-commits mailing list