summaryrefslogtreecommitdiff
path: root/tests/gctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gctest.c')
-rw-r--r--tests/gctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gctest.c b/tests/gctest.c
index 86b448fe..358fbc7e 100644
--- a/tests/gctest.c
+++ b/tests/gctest.c
@@ -1961,7 +1961,7 @@ void check_heap_stats(void)
# endif
# ifdef THREADS
- GC_unregister_my_thread(); /* just to check it works (for main) */
+ (void)GC_unregister_my_thread(); /* just to check it works (for main) */
# endif
# ifdef NO_CLOCK
GC_printf("Completed %u collections\n", (unsigned)GC_get_gc_no());