Skip to content

Commit ecb68f1

Browse files
committed
[libc++abi] NFC: avoid a -Wunused-parameter warning
Summary: A -Wunused-parameter warning was introduced by patch rG7f0244afa828 [libc++abi] NFC: adding a new parameter base to functions for calculating… (authored by xingxue). The unused parameter base will be used in a follow-on patch D101298. This patch is to avoid the warning before D101298 is landed. Reviewers: ldionne, sfertile, compnerd, libc++abi Reviewed by: ldionne Differential Revision: https://reviews.llvm.org/D104235
1 parent d9d2080 commit ecb68f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxxabi/src/cxa_personality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ readSLEB128(const uint8_t** data)
245245
/// @returns decoded value
246246
static
247247
uintptr_t
248-
readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t base = 0)
248+
readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t /*base*/ = 0)
249249
{
250250
uintptr_t result = 0;
251251
if (encoding == DW_EH_PE_omit)

0 commit comments

Comments
 (0)