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

jaydoane pushed a commit to branch smoosh-eunit-coverage
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit e6b9c84a4a9b39199fd1a82a0bb66286a47f80d4
Author: Jay Doane <[email protected]>
AuthorDate: Sat Mar 26 15:36:25 2022 -0700

    Eliminate unused variable warnings
    
    src/couch/src/test_util.erl:276:16: Warning: variable 'Timeout' is unused
    src/test_util.erl:276:25: Warning: variable 'Delay' is unused
    src/couchdb/src/couch/src/test_util.erl:276:32: Warning: variable 'Started' 
is unused
---
 src/couch/src/test_util.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/test_util.erl b/src/couch/src/test_util.erl
index 06dfcc6..9f6d758 100644
--- a/src/couch/src/test_util.erl
+++ b/src/couch/src/test_util.erl
@@ -273,7 +273,7 @@ wait_start(Processses, TimeoutInSec, Delay) ->
 
 wait_start(_, Timeout, _Delay, Started, Prev, _) when Prev - Started > Timeout 
->
     timeout;
-wait_start([], Timeout, Delay, Started, _Prev, Res) ->
+wait_start([], _Timeout, _Delay, _Started, _Prev, Res) ->
     Res;
 wait_start([{Name, Pid} | Rest] = Processes, Timeout, Delay, Started, _Prev, 
Res) ->
     case whereis(Name) of

Reply via email to