Get rid of an unused var

This commit is contained in:
Carlos Martín Nieto
2013-03-01 19:58:27 +01:00
parent 2c7a984af0
commit 7471774558

View File

@@ -5,7 +5,7 @@
-export([lookup/2]).
-spec lookup(repo(), oid()) -> object().
lookup(Repo = #repo{handle=RepoHandle}, #oid{oid=Oid}) ->
lookup(#repo{handle=RepoHandle}, #oid{oid=Oid}) ->
case geef:object_lookup(RepoHandle, Oid) of
{ok, Type, Handle} ->
{ok, #object{type=Type, handle=Handle}};