mirror of
https://github.com/FEX-Emu/libunwind.git
synced 2024-11-30 18:00:59 +00:00
Annotate unused argument in mark_as_used() to avoid -Wextra compiler noise
include/libunwind_i.h: In function 'mark_as_used': include/libunwind_i.h:187:39: warning: unused parameter 'v' [-Wunused-parameter]
This commit is contained in:
parent
7e5cab6dac
commit
a15874f2cb
@ -184,7 +184,7 @@ extern intrmask_t unwi_full_mask;
|
||||
|
||||
/* Silence compiler warnings about variables which are used only if libunwind
|
||||
is configured in a certain way */
|
||||
static inline void mark_as_used(void *v) {
|
||||
static inline void mark_as_used(void *v UNUSED) {
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BLOCK_SIGNALS)
|
||||
|
Loading…
Reference in New Issue
Block a user