aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-04-27 19:13:15 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-04-27 19:13:15 +0200
commit57dffc2e9adffd5834a18f837b7d06edf8de8e92 (patch)
treebba3769ccaef5b763d2c68ea915cc569ee25f634 /erts
parentf73c09acbb61425e26093c44889ebce3582c0280 (diff)
parent806798d6beda18ddec29b7f4ed09b3ea6d75c532 (diff)
downloadotp-57dffc2e9adffd5834a18f837b7d06edf8de8e92.tar.gz
otp-57dffc2e9adffd5834a18f837b7d06edf8de8e92.tar.bz2
otp-57dffc2e9adffd5834a18f837b7d06edf8de8e92.zip
Merge branch 'egil/fix-compiler-warnings' into maint
* egil/fix-compiler-warnings: erl_docgen: Do not overflow images for pdf doc gen kernel: Fix missing documentation link anchors megaco: Fix parallel make for behaviours inets: Fix parallel make for behaviours ssh: Fix parallel make for behaviours eunit: Fix parallel make for behaviours ssl: Fix parallel make for behaviours wx: configure.in needs AC_LANG_SOURCE gs: Suppress ignored result warning erts: Remove unused variable
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_async.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_async.c b/erts/emulator/beam/erl_async.c
index f321ed21aa..cb975d64b0 100644
--- a/erts/emulator/beam/erl_async.c
+++ b/erts/emulator/beam/erl_async.c
@@ -253,7 +253,9 @@ erts_get_async_ready_queue(Uint sched_id)
static ERTS_INLINE void async_add(ErtsAsync *a, ErtsAsyncQ* q)
{
+#ifdef USE_VM_PROBES
int len;
+#endif
if (is_internal_port(a->port)) {
#if ERTS_USE_ASYNC_READY_Q
@@ -291,7 +293,9 @@ static ERTS_INLINE ErtsAsync *async_get(ErtsThrQ_t *q,
int saved_fin_deq = 0;
ErtsThrQFinDeQ_t fin_deq;
#endif
+#ifdef USE_VM_PROBES
int len;
+#endif
while (1) {
ErtsAsync *a = (ErtsAsync *) erts_thr_q_dequeue(q);