summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-11-19 08:10:48 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-11-19 15:11:10 +0400
commit90498eba3f433ac81de631962c25e9d2b187f641 (patch)
tree4e56d31cb5583ae471f5fce9e5bb12842c7aa84d /pthread_support.c
parent33bd64cdecdf38880576942a1c81707d6804b5ba (diff)
downloadbdwgc-90498eba3f433ac81de631962c25e9d2b187f641.tar.gz
Eliminate 'unused variable' compiler warning in start_mark_threads (HP/UX)
* pthread_support.c (start_mark_threads): Remove unused "code" local variable (only if HPUX or GC_DGUX386_THREADS).
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c
index a9baa57e..0fa0027a 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -410,7 +410,6 @@ static void start_mark_threads(void)
# define MIN_STACK_SIZE (8*HBLKSIZE*sizeof(word))
{
size_t old_size;
- int code;
if (pthread_attr_getstacksize(&attr, &old_size) != 0)
ABORT("pthread_attr_getstacksize failed");