summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2012-12-20 12:47:11 +0000
committerRobert Newson <rnewson@apache.org>2012-12-20 12:55:38 +0000
commit4b25dee672c3e260b32d2ce621395b7a5ff5057a (patch)
treec23090eac4a01f28cf75d39265e37402f8fa7996
parent6e749bf7e8f47ea59b9e22f23795ba081547fa0e (diff)
downloadcouchdb-4b25dee672c3e260b32d2ce621395b7a5ff5057a.tar.gz
Fix unused variable warnings
-rw-r--r--src/couchdb/couch_log.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_log.erl b/src/couchdb/couch_log.erl
index 047a4d4f3..906a8beba 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) ->