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:
Tommi Rantala 2012-02-14 15:37:55 +02:00
parent 7e5cab6dac
commit a15874f2cb

View File

@ -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)