From 151e69632467dc31cf24a3cb7239fc0f38fd1bea Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Mon, 29 Jun 2015 17:14:33 +0900 Subject: [PATCH] WIP: yank out more unused cruft --- src/machi_flu1.erl | 4 +--- src/machi_flu1_client.erl | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/machi_flu1.erl b/src/machi_flu1.erl index e78dd11..7409613 100644 --- a/src/machi_flu1.erl +++ b/src/machi_flu1.erl @@ -325,9 +325,7 @@ do_pb_ll_request(PB_request, S) -> {RqID, CMD} -> EpochID = element(2, CMD), % by common convention {Rs, NewS} = do_pb_ll_request2(EpochID, CMD, S), - {RqID, CMD, Rs, NewS}; - nope -> - {foo, bar, baz} + {RqID, CMD, Rs, NewS} end, {machi_pb_translate:to_pb_response(ReqID, Cmd, Result), S2}. diff --git a/src/machi_flu1_client.erl b/src/machi_flu1_client.erl index 5c35958..648048a 100644 --- a/src/machi_flu1_client.erl +++ b/src/machi_flu1_client.erl @@ -373,7 +373,7 @@ echo(Sock, String) when is_list(String) -> %% @doc Get all epoch numbers from the FLU's projection store. -spec echo(machi_dt:inet_host(), machi_dt:inet_port(), string()) -> - {ok, [non_neg_integer()]} | {error, term()}. + string() | {error, term()}. echo(Host, TcpPort, String) when is_list(String) -> Sock = connect(#p_srvr{proto_mod=?MODULE, address=Host, port=TcpPort}), try