couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] git commit: Fix unused variable warnings
Date Thu, 20 Dec 2012 12:56:00 GMT
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 <rnewson@apache.org>
Authored: Thu Dec 20 12:47:11 2012 +0000
Committer: Robert Newson <rnewson@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) ->


Mime
View raw message