Permalink
Browse files

Simplify slightly in level:initialize().

  • Loading branch information...
1 parent c93505f commit fa43e41c519235aadf91f9d27c03e0754fe524a0 @esstrifork esstrifork committed Jan 5, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/fractal_btree_level.erl
@@ -102,9 +102,7 @@ initialize(State) ->
{ok, BT1} = fractal_btree_reader:open(AFileName),
{ok, BT2} = fractal_btree_reader:open(BFileName),
- {ok, MergePID} = begin_merge(State),
-
- main_loop(State#state{ a=BT1, b=BT2, merge_pid=MergePID });
+ check_begin_merge_then_loop(State#state{ a=BT1, b=BT2, merge_pid=MergePID });
{error, enoent} ->

0 comments on commit fa43e41

Please sign in to comment.