Permalink
Browse files

One more warning

  • Loading branch information...
1 parent 7fa2610 commit 0ce17035c8c243e3c4f386beaae8a8160ee89243 Kevin Smith committed Mar 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/decouch_reader.erl
View
@@ -68,13 +68,13 @@ process_each_doc(F, Db, Kv, _Reds, AccIn) ->
end,
{ok, AccOut}.
-all_docs_iter(Name, Db, IterFun) ->
+all_docs_iter(_Name, Db, IterFun) ->
Limit = 10,
SkipCount = 0,
Options = [end_key_gt],
FoldAccInit = {Limit, SkipCount, undefined, []},
InFun = fun(KV, Reds, Acc) -> process_each_doc(IterFun, Db, KV, Reds, Acc) end,
- {Time, _} = timer:tc(
+ {_, _} = timer:tc(
couch_btree, fold, [Db#db.fulldocinfo_by_id_btree, InFun, FoldAccInit, Options] ),
%%io:format(standard_error, "Database '~s' processed in ~f seconds~n", [Name, Time/1000000]),
ok.

0 comments on commit 0ce1703

Please sign in to comment.