sig is only used if threads are in use. [RT #18196]

This commit is contained in:
Mark Andrews
2008-10-15 03:18:33 +00:00
parent 432b4411a9
commit 183b7615a7
+2 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: app.c,v 1.43.2.3.8.9 2008/06/25 00:03:29 jinmei Exp $ */
/* $Id: app.c,v 1.43.2.3.8.10 2008/10/15 03:18:33 marka Exp $ */
#include <config.h>
@@ -433,10 +433,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());