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:
a613b15
)
Workaround 'GC_dump function is never used' cppcheck warning
author
Ivan Maidanski
<ivmai@mail.ru>
Fri, 23 Nov 2018 08:57:29 +0000
(11:57 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Fri, 23 Nov 2018 08:57:29 +0000
(11:57 +0300)
* tests/test.c [!PCR && !GC_WIN32_THREADS && !GC_PTHREADS && CPPCHECK
&& !NO_DEBUGGING] (main): Add UNTESTED(GC_dump).
tests/test.c
patch
|
blob
|
history
diff --git
a/tests/test.c
b/tests/test.c
index
bccc838
..
bc70399
100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-1989,6
+1989,7
@@
void GC_CALLBACK warn_proc(char *msg, GC_word p)
UNTESTED(GC_gcj_malloc_ignore_off_page);
# endif
# ifndef NO_DEBUGGING
+ UNTESTED(GC_dump);
UNTESTED(GC_dump_regions);
UNTESTED(GC_is_tmp_root);
UNTESTED(GC_print_free_list);