Skip to content

Commit acf1c4a

Browse files
Apply suggestions from code review
Co-authored-by: Louis Dionne <[email protected]>
1 parent 69307d5 commit acf1c4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libunwind/src/Unwind-wasm.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
103103

104104
/// Not used in Wasm.
105105
_LIBUNWIND_EXPORT void
106-
_Unwind_SetIP([[maybe_unused]] struct _Unwind_Context *context,
107-
[[maybe_unused]] uintptr_t value) {}
106+
_Unwind_SetIP(struct _Unwind_Context *, uintptr_t) {}
108107

109108
/// Called by personality handler to get LSDA for current frame.
110109
_LIBUNWIND_EXPORT uintptr_t
@@ -117,7 +116,7 @@ _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context) {
117116

118117
/// Not used in Wasm.
119118
_LIBUNWIND_EXPORT uintptr_t
120-
_Unwind_GetRegionStart([[maybe_unused]] struct _Unwind_Context *context) {
119+
_Unwind_GetRegionStart(struct _Unwind_Context *) {
121120
return 0;
122121
}
123122

0 commit comments

Comments
 (0)