From: Ivan Maidanski Date: Mon, 19 Nov 2012 04:10:48 +0000 (+0400) Subject: Eliminate 'unused variable' compiler warning in start_mark_threads (HP/UX) X-Git-Tag: gc7_4_0~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90498eba3f433ac81de631962c25e9d2b187f641;p=gc 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). --- 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");