summaryrefslogtreecommitdiff
path: root/src/plop.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-05-05 21:07:31 +0200
committerLinus Nordberg <linus@nordberg.se>2015-05-05 21:07:31 +0200
commit4debec0f967d429f3cc9011eff898bc5e5585bda (patch)
treec2631aa6318660c0392985266a2a00ee1985c562 /src/plop.erl
parentbbccb14d1be52a3375b44da7c68323c30c0ce985 (diff)
Dialyzer clean.
Diffstat (limited to 'src/plop.erl')
-rw-r--r--src/plop.erl4
1 files changed, 2 insertions, 2 deletions
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