diff options
author | Christian von Roques <[email protected]> | 2011-08-08 16:33:05 +0200 |
---|---|---|
committer | Christian von Roques <[email protected]> | 2011-09-06 20:06:45 +0200 |
commit | ef757a19bdab06e29dcc29de32ef7b8202f2e68d (patch) | |
tree | 5bc7e8ed5c3cbca7d7a4bfc37430d5af833aeee8 /erts | |
parent | 22dae863060e0d66fa268f6d1cd4d6f084b850ab (diff) | |
download | otp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.tar.gz otp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.tar.bz2 otp-ef757a19bdab06e29dcc29de32ef7b8202f2e68d.zip |
Changes inspired by running cppcheck(1)
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/sys/common/erl_poll.c | 2 |
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) |