Add missing GC_ATTR_UNUSED annotation to a function in backgraph
authorIvan Maidanski <ivmai@mail.ru>
Fri, 30 Sep 2011 12:01:28 +0000 (16:01 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 30 Sep 2011 12:01:28 +0000 (16:01 +0400)
* backgraph.c (pop_in_progress): Tag the argument with GC_ATTR_UNUSED.

backgraph.c

index 67e0b37..cd2fdcd 100644 (file)
@@ -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);