]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
sig is only used if threads are in use. [RT #18196]
authorMark Andrews <marka@isc.org>
Wed, 15 Oct 2008 03:21:22 +0000 (03:21 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Oct 2008 03:21:22 +0000 (03:21 +0000)
lib/isc/unix/app.c

index 23e573809cc053cc691850b5e71b9e3533d6e32c..7fbffd48d445d1b74f04b7a4d1851a71d4c7e606 100644 (file)
@@ -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());