diff options
author | Matthias Radestock <matthias@lshift.net> | 2008-11-30 13:49:45 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2008-11-30 13:49:45 +0000 |
commit | 484e1ab80b4624fae94749a33dd1ed03b15446c9 (patch) | |
tree | 5e21c50d34209ecde176b2739037ae3bcfcedab5 | |
parent | dd05f90819ae2950d5349005b2d4bb1c41219331 (diff) | |
download | rabbitmq-server-484e1ab80b4624fae94749a33dd1ed03b15446c9.tar.gz |
get rid of compiler warning
-rw-r--r-- | src/rabbit_control.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index 3540fa90..392818b3 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -37,10 +37,10 @@ start() -> #params{quiet = Quiet, node = Node, command = Command, args = Args} = parse_args(FullCommand, #params{quiet = false, node = rabbit_misc:localnode(rabbit)}), - Inform = case Quiet of - true -> fun(_Format, _Args) -> ok end; - false -> fun(Format, Args) -> - io:format(Format ++ " ...~n", Args) + Inform = case Quiet of + true -> fun(_Format, _Args1) -> ok end; + false -> fun(Format, Args1) -> + io:format(Format ++ " ...~n", Args1) end end, %% The reason we don't use a try/catch here is that rpc:call turns |