aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-09-20 10:41:36 +0200
committerHenrik Nord <[email protected]>2011-09-20 10:41:41 +0200
commit0309869320ec4dd7dc48827b9ec730ffccc3122e (patch)
tree2a1c95e9c416943b0eda216cc01436774cc882f9 /erts
parentf6f95cd980d515e730c64dde59997082d9979a53 (diff)
parentef757a19bdab06e29dcc29de32ef7b8202f2e68d (diff)
downloadotp-0309869320ec4dd7dc48827b9ec730ffccc3122e.tar.gz
otp-0309869320ec4dd7dc48827b9ec730ffccc3122e.tar.bz2
otp-0309869320ec4dd7dc48827b9ec730ffccc3122e.zip
Merge branch 'cr/cppcheck' into dev
* cr/cppcheck: Changes inspired by running cppcheck(1) OTP-9557
Diffstat (limited to 'erts')
-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)