diff options
author | Lukas Larsson <[email protected]> | 2011-02-15 13:37:19 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:00:32 +0100 |
commit | 8b9b6e1436e255b8cd40ed8ab44bc0c7a90ef798 (patch) | |
tree | 589dff55a96980cabeba920e946d7451cf1b9fce /lib/common_test/src/ct_testspec.erl | |
parent | 044f768b6545234461f173e8a959379630723e8f (diff) | |
download | otp-8b9b6e1436e255b8cd40ed8ab44bc0c7a90ef798.tar.gz otp-8b9b6e1436e255b8cd40ed8ab44bc0c7a90ef798.tar.bz2 otp-8b9b6e1436e255b8cd40ed8ab44bc0c7a90ef798.zip |
Cleanup code to fix dialyzer warning
Diffstat (limited to 'lib/common_test/src/ct_testspec.erl')
-rw-r--r-- | lib/common_test/src/ct_testspec.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_testspec.erl b/lib/common_test/src/ct_testspec.erl index db1d4c5fb0..2b6abefb72 100644 --- a/lib/common_test/src/ct_testspec.erl +++ b/lib/common_test/src/ct_testspec.erl @@ -394,8 +394,6 @@ filter_init_terms([Term|Ts], NewTerms, Spec)-> filter_init_terms([], NewTerms, Spec)-> {lists:reverse(NewTerms), Spec}. -add_option([], _, List, _)-> - List; add_option({Key, Value}, Node, List, WarnIfExists) when is_list(Value)-> OldOptions = case lists:keyfind(Node, 1, List) of {Node, Options}-> |