mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ extern intrmask_t unwi_full_mask;
|
||||||
|
|
||||||
/* Silence compiler warnings about variables which are used only if libunwind
|
/* Silence compiler warnings about variables which are used only if libunwind
|
||||||
is configured in a certain way */
|
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)
|
#if defined(CONFIG_BLOCK_SIGNALS)
|
||||||
|
|
Loading…
Reference in a new issue