summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-11-15 17:44:02 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-11-15 17:44:02 +0000
commiteee9e0c52b6c07d128d7c96c0628e81b43c77352 (patch)
tree61003e14bd15ac3adec10f00bcbf95f94d82b540
parentba3e88c1760ab4a7a6009e6bfb27bf8891d6c397 (diff)
downloadrabbitmq-server-git-eee9e0c52b6c07d128d7c96c0628e81b43c77352.tar.gz
Cosmetic / unused variables.
-rw-r--r--src/rabbit_amqqueue_process.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index f3d15402bc..dbbc84421e 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -540,14 +540,14 @@ deliver_from_queue_deliver(AckRequired, State) ->
{Result, State1} = fetch(AckRequired, State),
{Result, is_empty(State1), State1}.
-update_cu({inactive, _, _, _} = CUInfo, inactive) ->
+update_cu({inactive, _, _, _} = CUInfo, inactive) ->
CUInfo;
-update_cu({active, _, _} = CUInfo, active) ->
+update_cu({active, _, _} = CUInfo, active) ->
CUInfo;
-update_cu({active, Since, Avg} = CUInfo, inactive) ->
+update_cu({active, Since, Avg}, inactive) ->
Now = now_micros(),
{inactive, Now, Now - Since, Avg};
-update_cu({inactive, Since, Active, Avg} = CUInfo, active) ->
+update_cu({inactive, Since, Active, Avg}, active) ->
Now = now_micros(),
Inactive = Now - Since,
Time = Inactive + Active,