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 2023/04/17 18:41:25 UTC
[couchdb] 01/03: Fix warning: variable bound multiple times
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 1a6d9483419bd2da2e84bbb55a59edcd7683b105
Author: Jay Doane <ja...@apache.org>
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) ->