From 4debec0f967d429f3cc9011eff898bc5e5585bda Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 5 May 2015 21:07:31 +0200 Subject: Dialyzer clean. --- src/frontend.erl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/frontend.erl') diff --git a/src/frontend.erl b/src/frontend.erl index 2689956..172cc23 100644 --- a/src/frontend.erl +++ b/src/frontend.erl @@ -132,9 +132,12 @@ check_entry(LeafHash, Index) -> ok end. +-spec fetchmissingentries(non_neg_integer()) -> [binary() | noentry]. fetchmissingentries(Index) -> lists:reverse(fetchmissingentries(Index, [])). +-spec fetchmissingentries(non_neg_integer(), [binary() | noentry]) -> + [binary() | noentry]. fetchmissingentries(Index, Acc) -> lager:debug("index ~p", [Index]), case db:leafhash_for_index(Index) of -- cgit v1.1