From e9f16d7b1be2fd53ba645df0048d4d7335848bf3 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Sat, 30 Aug 2014 22:14:08 +0900 Subject: [PATCH] Dialyzer clean --- prototype/tango-prototype/include/corfurl.hrl | 3 ++- prototype/tango-prototype/src/corfurl_client.erl | 2 +- prototype/tango-prototype/src/corfurl_sequencer.erl | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/prototype/tango-prototype/include/corfurl.hrl b/prototype/tango-prototype/include/corfurl.hrl index f932892..59ec65a 100644 --- a/prototype/tango-prototype/include/corfurl.hrl +++ b/prototype/tango-prototype/include/corfurl.hrl @@ -27,7 +27,8 @@ -record(range, { pn_start :: non_neg_integer(), % start page number pn_end :: non_neg_integer(), % end page number - chains :: [flu_chain()] + %% chains :: [flu_chain()] + chains :: tuple() }). -record(proj, { % Projection diff --git a/prototype/tango-prototype/src/corfurl_client.erl b/prototype/tango-prototype/src/corfurl_client.erl index b875f07..efa41e0 100644 --- a/prototype/tango-prototype/src/corfurl_client.erl +++ b/prototype/tango-prototype/src/corfurl_client.erl @@ -214,7 +214,7 @@ report_lost_race(LPN, Reason) -> %% Perhaps it's an interesting event, but the rest of the system %% should react correctly whenever this happens, so it shouldn't %% ever cause an external consistency problem. - error_logger:debug_msg("LPN ~p race lost: ~p\n", [LPN, Reason]). + error_logger:info_msg("LPN ~p race lost: ~p\n", [LPN, Reason]). -endif. % TEST diff --git a/prototype/tango-prototype/src/corfurl_sequencer.erl b/prototype/tango-prototype/src/corfurl_sequencer.erl index 791d865..aa70957 100644 --- a/prototype/tango-prototype/src/corfurl_sequencer.erl +++ b/prototype/tango-prototype/src/corfurl_sequencer.erl @@ -22,7 +22,8 @@ -behaviour(gen_server). --export([start_link/1, stop/1, stop/2, +-export([start_link/1, start_link/2, start_link/3, + stop/1, stop/2, get/2, get/3, get_tails/2]). -export([set_tails/2]). -ifdef(TEST).