]> 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:20:45 +0000 (03:20 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Oct 2008 03:20:45 +0000 (03:20 +0000)
lib/isc/unix/app.c

index 02a48637b9afea4a22803c04f5256e2842c0ac56..4fc3753427084e77e8994c9705c759573ca0ba41 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.c,v 1.50.18.6 2008/06/24 02:02:51 jinmei Exp $ */
+/* $Id: app.c,v 1.50.18.7 2008/10/15 03:20:45 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());