You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2023/05/05 23:55:43 UTC

[couchdb] 01/01: Remove extra unused variable

This is an automated email from the ASF dual-hosted git repository.

chewbranca pushed a commit to branch remove-unused-variable
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 2fc45a3cb73d283dd0549cc90af97c3e7b1b25c0
Author: Russell Branca <ch...@apache.org>
AuthorDate: Fri May 5 16:55:31 2023 -0700

    Remove extra unused variable
---
 src/couch_log/src/couch_log_writer_stderr.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch_log/src/couch_log_writer_stderr.erl b/src/couch_log/src/couch_log_writer_stderr.erl
index 5c2c761fa..db6870197 100644
--- a/src/couch_log/src/couch_log_writer_stderr.erl
+++ b/src/couch_log/src/couch_log_writer_stderr.erl
@@ -27,7 +27,7 @@ init() ->
 terminate(_, _St) ->
     ok.
 
-write(#log_entry{type = Type} = Entry, St) ->
+write(Entry, St) ->
     #log_entry{
         level = Level,
         pid = Pid,