sig is only used if threads are in use. [RT #18196]
This commit is contained in:
+2
-2
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user