summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-11-26 17:10:27 +0000
committerMatthew Sackman <matthew@lshift.net>2009-11-26 17:10:27 +0000
commit961f6078f099e462980001ac1b88ea17ae42ef29 (patch)
tree79b2bfda37e1b7b6658338511d70ebc7fdcef698
parent1915489d9762806b0c84a9b43651436895eba2be (diff)
downloadrabbitmq-server-git-961f6078f099e462980001ac1b88ea17ae42ef29.tar.gz
Don't need this variable anymore
-rw-r--r--src/rabbit_memory_monitor.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_memory_monitor.erl b/src/rabbit_memory_monitor.erl
index 8266845fb2..5f39f7a96f 100644
--- a/src/rabbit_memory_monitor.erl
+++ b/src/rabbit_memory_monitor.erl
@@ -144,8 +144,7 @@ handle_call({report_queue_duration, Pid, QueueDuration}, From,
queue_durations = Durations,
desired_duration = SendDuration}) ->
- [Proc = #process{reported = PrevQueueDuration, sent = PrevSendDuration}] =
- ets:lookup(Durations, Pid),
+ [Proc = #process{reported=PrevQueueDuration}] = ets:lookup(Durations, Pid),
gen_server2:reply(From, SendDuration),