diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-11-15 17:44:02 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-11-15 17:44:02 +0000 |
commit | feddb2e92b96f609ae97e5cab3a954a8eb6d67cd (patch) | |
tree | 61003e14bd15ac3adec10f00bcbf95f94d82b540 /src/rabbit_amqqueue_process.erl | |
parent | 03c403acbb300d51afd22e624d9a269624a0fe9e (diff) | |
download | rabbitmq-server-feddb2e92b96f609ae97e5cab3a954a8eb6d67cd.tar.gz |
Cosmetic / unused variables.
Diffstat (limited to 'src/rabbit_amqqueue_process.erl')
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index f3d15402..dbbc8442 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, |