Skip to content

Commit 6e33c11

Browse files
committed
Build fix due to not testing the build after apply review feedback \o/
1 parent 062b3f2 commit 6e33c11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libunwind/src/libunwind.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ _LIBUNWIND_HIDDEN int __unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum,
133133
// It is only valid to set the IP within the current function.
134134
// This is important for ptrauth, otherwise the IP cannot be correctly
135135
// signed.
136-
unw_word_t stripped_value =
136+
[[maybe_unused]]unw_word_t stripped_value =
137137
(unw_word_t)ptrauth_strip((void *)value, ptrauth_key_return_address);
138-
[[maybe_unused]]stripped_value;
139138
assert(stripped_value >= info.start_ip && stripped_value <= info.end_ip);
140139

141140
pint_t sp = (pint_t)co->getReg(UNW_REG_SP);

0 commit comments

Comments
 (0)