anchor.diff:      NumFound = wait_for_index_scan(Ref, BatchRef, StartTime, WaitFactor),
       case NumFound of
           {error, _} = Err ->
  -            destroy_index_data_db(DBDir, DBRef),
  +            _ = destroy_index_data_db(DBDir, DBRef),
               Err;
           _ ->
               lager:info("Grabbed ~p index data entries from partition ~p",
  
positive.code:                                               error=BuildTreeErr,
                                                index_scan_count=IndexDBCount}
                      end,
                      destroy_index_data_db(DBDir, DBRef),
                      lager:info("Finished repairing indexes in partition ~p",
                                 [Partition]),
                      Res;
  
negative.code:             {error, index_scan_timeout}
      end.
  
  -spec fetch_index_data(BK :: binary(), eleveldb:db_ref()) -> term().
  fetch_index_data(BK, DBRef) ->
      % Let it crash on leveldb error
      case eleveldb:get(DBRef, BK, []) of
  