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

jaydoane pushed a commit to branch otp-26-compat
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit da10454642d43abe523e081256833e4339aaa8cf
Author: Jay Doane <[email protected]>
AuthorDate: Thu Apr 13 15:22:26 2023 -0700

    Fix warning: variable bound multiple times
    
    Fix this warning:
    src/couch/test/eunit/couch_flags_config_tests.erl:99:9: Warning: variable 
'_Pattern' is bound multiple times in this pattern.
---
 src/couch/test/eunit/couch_flags_config_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/test/eunit/couch_flags_config_tests.erl 
b/src/couch/test/eunit/couch_flags_config_tests.erl
index 05707718b..265762913 100644
--- a/src/couch/test/eunit/couch_flags_config_tests.erl
+++ b/src/couch/test/eunit/couch_flags_config_tests.erl
@@ -96,7 +96,7 @@ latest_overide_wins() ->
      || {Rules, Expected} <- Cases
     ].
 
-flags({{_Pattern}, {_Pattern, _Size, Flags}}) ->
+flags({{_}, {_, _Size, Flags}}) ->
     Flags.
 
 test_id(Items, ExpectedResult) ->

Reply via email to