Skip to content

Commit f4206f9

Browse files
[libunwind] Silence -Wunused-parameter warnings in Unwind-wasm.c (#125412)
1 parent 81a8b20 commit f4206f9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libunwind/src/Unwind-wasm.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
102102
}
103103

104104
/// Not used in Wasm.
105-
_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *context,
106-
uintptr_t value) {}
105+
_LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t) {}
107106

108107
/// Called by personality handler to get LSDA for current frame.
109108
_LIBUNWIND_EXPORT uintptr_t
@@ -115,8 +114,7 @@ _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context) {
115114
}
116115

117116
/// Not used in Wasm.
118-
_LIBUNWIND_EXPORT uintptr_t
119-
_Unwind_GetRegionStart(struct _Unwind_Context *context) {
117+
_LIBUNWIND_EXPORT uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *) {
120118
return 0;
121119
}
122120

0 commit comments

Comments
 (0)