projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa7832
)
Add missing GC_ATTR_UNUSED annotation to a function in backgraph
author
Ivan Maidanski
<ivmai@mail.ru>
Fri, 30 Sep 2011 12:01:28 +0000
(16:01 +0400)
committer
Ivan 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
patch
|
blob
|
history
diff --git
a/backgraph.c
b/backgraph.c
index
67e0b37
..
cd2fdcd
100644
(file)
--- 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);