diff options
author | Björn-Egil Dahlberg <[email protected]> | 2011-11-07 15:41:27 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2011-11-07 16:03:05 +0100 |
commit | b37aca2a4ac3e79c39ab4dd588eda2b6bd77d311 (patch) | |
tree | 920e1e07255ad768ebb0169ecdca3fa8c88ae393 | |
parent | 7e35f3585ae396b7e19a4a5d09f1b378806d523a (diff) | |
download | otp-b37aca2a4ac3e79c39ab4dd588eda2b6bd77d311.tar.gz otp-b37aca2a4ac3e79c39ab4dd588eda2b6bd77d311.tar.bz2 otp-b37aca2a4ac3e79c39ab4dd588eda2b6bd77d311.zip |
erts: "initialized" is only used with CHLDWTHR
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index 82d2c64d81..94ec8dc8a0 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -2892,8 +2892,8 @@ smp_sig_notify(char c) static void * signal_dispatcher_thread_func(void *unused) { - int initialized = 0; #if !CHLDWTHR + int initialized = 0; int notify_check_children = 0; #endif #ifdef ERTS_ENABLE_LOCK_CHECK @@ -2933,8 +2933,8 @@ signal_dispatcher_thread_func(void *unused) */ switch (buf[i]) { case 0: /* Emulator initialized */ - initialized = 1; #if !CHLDWTHR + initialized = 1; if (!notify_check_children) #endif break; |