From b018450b0ecf8c8695adcf4a76ea87e50a883f46 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 15 Oct 2008 03:21:22 +0000 Subject: [PATCH] sig is only used if threads are in use. [RT #18196] --- lib/isc/unix/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/app.c b/lib/isc/unix/app.c index 23e573809c..7fbffd48d4 100644 --- a/lib/isc/unix/app.c +++ b/lib/isc/unix/app.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: app.c,v 1.58 2008/06/23 19:41:19 jinmei Exp $ */ +/* $Id: app.c,v 1.59 2008/10/15 03:21:22 marka Exp $ */ /*! \file */ @@ -435,10 +435,10 @@ isc_app_run(void) { #ifdef ISC_PLATFORM_USETHREADS sigset_t sset; char strbuf[ISC_STRERRORSIZE]; -#endif /* ISC_PLATFORM_USETHREADS */ #ifdef HAVE_SIGWAIT int sig; #endif +#endif /* ISC_PLATFORM_USETHREADS */ #ifdef HAVE_LINUXTHREADS REQUIRE(main_thread == pthread_self());