[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 01/19] Annotate unused argument in mark_as_used

From: Tommi Rantala
Subject: [Libunwind-devel] [PATCH 01/19] Annotate unused argument in mark_as_used() to avoid -Wextra compiler noise
Date: Wed, 5 Sep 2012 14:50:09 +0300

include/libunwind_i.h: In function 'mark_as_used':
include/libunwind_i.h:187:39: warning: unused parameter 'v' [-Wunused-parameter]
 include/libunwind_i.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libunwind_i.h b/include/libunwind_i.h
index a395d68..bdd3f46 100644
--- a/include/libunwind_i.h
+++ b/include/libunwind_i.h
@@ -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) {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]