diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-04-20 14:11:56 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-04-27 16:51:11 +0200 |
commit | 784cbadcbbb7ef80dc1b90b65341ac7e2859f234 (patch) | |
tree | f4069f0545299828f265f130c1a4c48b82c720f9 | |
parent | f73c09acbb61425e26093c44889ebce3582c0280 (diff) | |
download | otp-784cbadcbbb7ef80dc1b90b65341ac7e2859f234.tar.gz otp-784cbadcbbb7ef80dc1b90b65341ac7e2859f234.tar.bz2 otp-784cbadcbbb7ef80dc1b90b65341ac7e2859f234.zip |
erts: Remove unused variable
-rw-r--r-- | erts/emulator/beam/erl_async.c | 4 |
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); |