You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2021/08/11 03:13:47 UTC

[couchdb] 01/02: Remove unused variable

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

jaydoane pushed a commit to branch restrict-ddoc-update-methods
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 6582df6139f773e6b2c04283e5191cc612a51748
Author: Jay Doane <ja...@apache.org>
AuthorDate: Tue Aug 10 13:17:26 2021 -0700

    Remove unused variable
---
 src/couch/src/couch_db.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_db.erl b/src/couch/src/couch_db.erl
index 8837101..ead77c6 100644
--- a/src/couch/src/couch_db.erl
+++ b/src/couch/src/couch_db.erl
@@ -575,7 +575,7 @@ get_compacted_seq(#db{}=Db) ->
 get_compactor_pid(#db{compactor_pid = Pid}) ->
     Pid.
 
-get_compactor_pid_sync(#db{main_pid=Pid}=Db) ->
+get_compactor_pid_sync(#db{main_pid=Pid}) ->
     case gen_server:call(Pid, compactor_pid, infinity) of
         CPid when is_pid(CPid) ->
             CPid;