diff options
| author | Ayanda Dube <ayanda.dube@erlang-solutions.com> | 2015-07-15 10:57:23 +0100 |
|---|---|---|
| committer | Ayanda Dube <ayanda.dube@erlang-solutions.com> | 2015-07-15 10:57:23 +0100 |
| commit | 2cd399a88f70c840e8616f1857797ee525e55e52 (patch) | |
| tree | b3384c0a2e997fcf5d52b66d4675306cc892f169 | |
| parent | 2ed519b82803b2902bfcb31cc423de7f0844e192 (diff) | |
| download | rabbitmq-server-git-2cd399a88f70c840e8616f1857797ee525e55e52.tar.gz | |
Removes temp variable
References #121
| -rw-r--r-- | src/rabbit_queue_location_client_local.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_queue_location_client_local.erl b/src/rabbit_queue_location_client_local.erl index ec8d7d9105..4cf91abc0a 100644 --- a/src/rabbit_queue_location_client_local.erl +++ b/src/rabbit_queue_location_client_local.erl @@ -37,6 +37,4 @@ description() -> [{description, <<"Locate queue master node as the client local node">>}]. -queue_master_location(#amqqueue{}) -> - MasterNode = node(), - {ok, MasterNode}. +queue_master_location(#amqqueue{}) -> {ok, node()}. |
