From 3975b8758a6aa58389a74eba15e1908ef86465d8 Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Sun, 16 Aug 2009 02:37:57 +0000 Subject: Update our Erlang VM requirement to 5.6.5 (R12B5). Also fixes the remaining two compiler warnings. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804552 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_view.erl | 2 +- src/couchdb/couch_rep_reader.erl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/couchdb') diff --git a/src/couchdb/couch_httpd_view.erl b/src/couchdb/couch_httpd_view.erl index 8264186b..d2f22c77 100644 --- a/src/couchdb/couch_httpd_view.erl +++ b/src/couchdb/couch_httpd_view.erl @@ -611,7 +611,7 @@ send_json_reduce_row(Resp, {Key, Value}, RowFront) -> view_group_etag(Group, Db) -> view_group_etag(Group, Db, nil). -view_group_etag(#group{sig=Sig,current_seq=CurrentSeq}, Db, Extra) -> +view_group_etag(#group{sig=Sig,current_seq=CurrentSeq}, _Db, Extra) -> % ?LOG_ERROR("Group ~p",[Group]), % This is not as granular as it could be. % If there are updates to the db that do not effect the view index, diff --git a/src/couchdb/couch_rep_reader.erl b/src/couchdb/couch_rep_reader.erl index d17c6c59..bcb971bb 100644 --- a/src/couchdb/couch_rep_reader.erl +++ b/src/couchdb/couch_rep_reader.erl @@ -93,8 +93,8 @@ handle_info({'DOWN', Ref, _, _, Reason}, State) -> handle_info({'EXIT', Loop, complete}, #state{reader_loop=Loop} = State) -> handle_reader_loop_complete(State). -terminate(Reason, _State) -> - % ?LOG_INFO("rep reader terminating with reason ~p", [Reason]), +terminate(_Reason, _State) -> + % ?LOG_INFO("rep reader terminating with reason ~p", [_Reason]), ok. code_change(_OldVsn, State, _Extra) -> -- cgit v1.2.3