You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2012/12/20 13:56:00 UTC

[1/2] git commit: Fix unused variable warnings

Updated Branches:
  refs/heads/master 6e749bf7e -> fb3a1eafe


Fix unused variable warnings


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4b25dee6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4b25dee6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4b25dee6

Branch: refs/heads/master
Commit: 4b25dee672c3e260b32d2ce621395b7a5ff5057a
Parents: 6e749bf
Author: Robert Newson <rn...@apache.org>
Authored: Thu Dec 20 12:47:11 2012 +0000
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Dec 20 12:55:38 2012 +0000

----------------------------------------------------------------------
 src/couchdb/couch_log.erl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4b25dee6/src/couchdb/couch_log.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_log.erl b/src/couchdb/couch_log.erl
index 047a4d4..906a8be 100644
--- a/src/couchdb/couch_log.erl
+++ b/src/couchdb/couch_log.erl
@@ -153,10 +153,10 @@ set_level_integer(Module, Int) ->
 handle_event({couch_error, ConMsg, FileMsg}, State) ->
     log(State, ConMsg, FileMsg),
     {ok, State};
-handle_event({couch_info, ConMsg, FileMsg}, #state{level = LogLevel} = State) ->
+handle_event({couch_info, ConMsg, FileMsg}, State) ->
     log(State, ConMsg, FileMsg),
     {ok, State};
-handle_event({couch_debug, ConMsg, FileMsg}, #state{level = LogLevel} = State) ->
+handle_event({couch_debug, ConMsg, FileMsg}, State) ->
     log(State, ConMsg, FileMsg),
     {ok, State};
 handle_event({error_report, _, {Pid, _, _}}=Event, #state{sasl = true} = St) ->