From: Ivan Maidanski Date: Fri, 30 Sep 2011 12:01:28 +0000 (+0400) Subject: Add missing GC_ATTR_UNUSED annotation to a function in backgraph X-Git-Tag: gc7_3alpha2~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ddbf5e11ae9f12600bc499ddafd8ed0c88bd4d6;p=gc Add missing GC_ATTR_UNUSED annotation to a function in backgraph * backgraph.c (pop_in_progress): Tag the argument with GC_ATTR_UNUSED. --- diff --git a/backgraph.c b/backgraph.c index 67e0b371..cd2fdcd2 100644 --- a/backgraph.c +++ b/backgraph.c @@ -159,7 +159,7 @@ static GC_bool is_in_progress(ptr_t p) return FALSE; } -GC_INLINE void pop_in_progress(ptr_t p) +GC_INLINE void pop_in_progress(ptr_t p GC_ATTR_UNUSED) { --n_in_progress; GC_ASSERT(in_progress_space[n_in_progress] == p);