aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_check.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-03-13 07:36:34 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:20 +0200
commit4dcde42e8a257b4992f29dc5f2acfd0d1f625d97 (patch)
tree8b0429e5a03c01d606d55d217abbdab7ee3759b7 /lib/asn1/src/asn1ct_check.erl
parentf4e25971233abdc0fe8872cb8d7b5113d4198a3d (diff)
downloadotp-4dcde42e8a257b4992f29dc5f2acfd0d1f625d97.tar.gz
otp-4dcde42e8a257b4992f29dc5f2acfd0d1f625d97.tar.bz2
otp-4dcde42e8a257b4992f29dc5f2acfd0d1f625d97.zip
Eliminate clauses that can never match
Dialyzer issued two new warnings when the 'catch' was removed in the previous commit.
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r--lib/asn1/src/asn1ct_check.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index 91e77219c8..e1e5140e08 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -1816,10 +1816,6 @@ convert_to_defaultfield(S,ObjFieldName,[OFS|RestOFS],CField)->
T = check_type(S,#typedef{typespec=ObjFieldSetting},
ObjFieldSetting),
{#typedef{checked=true,name=Bif,typespec=T},RestSettings};
- _OCFT = #'ObjectClassFieldType'{} ->
- T=check_type(S,#typedef{typespec=ObjFieldSetting},ObjFieldSetting),
- %%io:format("OCFT=~p~n,T=~p~n",[OCFT,T]),
- {#typedef{checked=true,typespec=T},RestSettings};
_ ->
%this case should not happen any more
{Mod,T} =