diff options
| author | Rob Harrop <rharrop@vmware.com> | 2010-10-06 20:36:28 +0100 |
|---|---|---|
| committer | Rob Harrop <rharrop@vmware.com> | 2010-10-06 20:36:28 +0100 |
| commit | 43d46890ee8a7cfd095414ae991f11b3a4abdc5d (patch) | |
| tree | d6553cb535880071cc56fa0471e7471ccc9ccd8f | |
| parent | fdc51cd87bf48dc57b23e675a1a44e993153ac52 (diff) | |
| download | rabbitmq-server-git-43d46890ee8a7cfd095414ae991f11b3a4abdc5d.tar.gz | |
removed unnecessary _MsgProperties variable name
| -rw-r--r-- | src/rabbit_amqqueue_process.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index 8770ff3281..4aa3eb8f4b 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -602,7 +602,7 @@ drop_expired_messages(State = #q{backing_queue_state = BQS, backing_queue = BQ}) -> Now = now_millis(), BQS1 = BQ:dropwhile( - fun (_MsgProperties = #message_properties{expiry = Expiry}) -> + fun (#message_properties{expiry = Expiry}) -> Now > Expiry end, BQS), ensure_ttl_timer(State #q{backing_queue_state = BQS1}). |
