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/plop.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plop.erl') diff --git a/src/plop.erl b/src/plop.erl index 42f068e..1f9ddd0 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -175,8 +175,8 @@ inclusion_and_entry(Index, TreeSize) -> {notfound, "Unknown index"}; true -> case db:get_by_index(Index) of - notfound -> - {notfound, "Unknown index"}; % FIXME: include Index + {I, _MTLHash, noentry} -> + {notfound, io:format("Unknown index ~p", [I])}; {I, _MTLHash, Entry} -> {ok, Entry, ht:path(I, TreeSize - 1)} end -- cgit v1.1