Permalink
Browse files

[enhance] db3: remove a double check

  • Loading branch information...
1 parent 5641e07 commit 8a8d2b538b632dcfb74cb2a480a9d4d3b815a4e7 Raja committed Jun 30, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 database/db3/hldb.ml
@@ -164,8 +164,7 @@ type t = {
(* Raise Not_found if the revision looked for is the smallest one *)
let _get_uid_of_eid db rev eid =
let map = EidMap.find eid db.uid_of_eid in
- try RevisionMap.find rev map
- with Not_found -> snd (RevisionMap.find_inf rev map)
+ snd (RevisionMap.find_inf rev map)
(* may raise Not_found from _get_uid_of_eid *)
let get_uid_of_eid db rev eid =

0 comments on commit 8a8d2b5

Please sign in to comment.