aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorChristian von Roques <roques@mti.ag>2011-08-08 16:33:05 +0200
committerChristian von Roques <roques@mti.ag>2011-09-06 20:06:45 +0200
commitef757a19bdab06e29dcc29de32ef7b8202f2e68d (patch)
tree5bc7e8ed5c3cbca7d7a4bfc37430d5af833aeee8 /erts/emulator/sys
parent22dae863060e0d66fa268f6d1cd4d6f084b850ab (diff)
downloadotp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.tar.gz
otp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.tar.bz2
otp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.zip
Changes inspired by running cppcheck(1)
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/common/erl_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c
index f5c785d683..7278075f54 100644
--- a/erts/emulator/sys/common/erl_poll.c
+++ b/erts/emulator/sys/common/erl_poll.c
@@ -405,7 +405,7 @@ woke_up(ErtsPollSet ps)
static ERTS_INLINE void
wake_poller(ErtsPollSet ps, int interrupted)
{
- int wake;
+ int wake = 0;
#ifdef ERTS_SMP
erts_aint32_t wakeup_state;
if (!interrupted)