aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-26 08:01:33 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:16 +0200
commitf84849cb7d2579d4f0d07595d2a15b49c1178868 (patch)
tree8f1ac33f378e040278d0ff250a3444fd6f26e2ac /lib
parent7a9d412b23f3e4f413b7408a66fb4b076d0efefa (diff)
downloadotp-f84849cb7d2579d4f0d07595d2a15b49c1178868.tar.gz
otp-f84849cb7d2579d4f0d07595d2a15b49c1178868.tar.bz2
otp-f84849cb7d2579d4f0d07595d2a15b49c1178868.zip
ascn1ct_check: Remove effect-less code
Diffstat (limited to 'lib')
-rw-r--r--lib/asn1/src/asn1ct_check.erl24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index 1c6b0525b8..a40117dda1 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -875,14 +875,6 @@ check_object(S,
?dbg("check_object set: ~p~n",[ObjSet#'ObjectSet'.set]),
{_,ClassDef} = get_referenced_type(S,ClassRef),
NewClassRef = check_externaltypereference(S,ClassRef),
- %% XXXXXXXXXX
- case ObjSet of
- #'ObjectSet'{set={'Externaltypereference',undefined,'MSAccessProtocol',
- 'AllOperations'}} ->
- ok;
- _ ->
- ok
- end,
{UniqueFieldName,UniqueInfo} =
case (catch get_unique_fieldname(S,ClassDef)) of
{error,'__undefined_',_} ->
@@ -3997,26 +3989,10 @@ categorize(_S,type,Def) when is_record(Def,type) ->
categorize(_,_,Def) ->
[Def].
categorize(S,object_set,Def,ClassRef) ->
- %% XXXXXXXXXX
- case Def of
- {'Externaltypereference',undefined,'MSAccessProtocol','AllOperations'} ->
- ok;
- _ ->
- ok
- end,
NewObjSetSpec =
check_object(S,Def,#'ObjectSet'{class = ClassRef,
set = parse_objectset(Def)}),
Name = new_reference_name("object_set_argument"),
- %% XXXXXXXXXX
- case Name of
- internal_object_set_argument_78 ->
- ok;
- internal_object_set_argument_77 ->
- ok;
- _ ->
- ok
- end,
[save_object_set_instance(S,Name,NewObjSetSpec)];
categorize(_S,object,Def,_ClassRef) ->
%% should be handled