aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-14 09:04:41 +0100
committerBjörn Gustavsson <[email protected]>2017-03-14 09:47:40 +0100
commit4b51ea6aa2c4542ca83008cd4abb22169e481620 (patch)
tree301f3651ff8718534d83a9dcd1dd375ef8183ba7 /lib/asn1/src/asn1ct.erl
parent8e4a9864385242b962ce7446f7daa4f58cfecca5 (diff)
downloadotp-4b51ea6aa2c4542ca83008cd4abb22169e481620.tar.gz
otp-4b51ea6aa2c4542ca83008cd4abb22169e481620.tar.bz2
otp-4b51ea6aa2c4542ca83008cd4abb22169e481620.zip
Remove the 'debug' option
The debug option no longer serves any useful purpose.
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
-rw-r--r--lib/asn1/src/asn1ct.erl13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index 9f77a557e5..c9127266f8 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -835,7 +835,6 @@ generate({M,CodeTuple}, OutFile, EncodingRule, Options) ->
Code = #abst{name=M#module.name,
types=Types,values=Values,ptypes=Ptypes,
classes=Classes,objects=Objects,objsets=ObjectSets},
- debug_on(Options),
setup_bit_string_format(Options),
setup_legacy_erlang_types(Options),
asn1ct_table:new(check_functions),
@@ -855,7 +854,6 @@ generate({M,CodeTuple}, OutFile, EncodingRule, Options) ->
end,
asn1ct_gen:pgen(OutFile, Gen, Code),
- debug_off(Options),
cleanup_bit_string_format(),
erase(tlv_format), % used in ber
erase(class_default_type),% used in ber
@@ -1151,17 +1149,6 @@ is_asn1_flag(verbose) -> true;
%% 'warnings_as_errors' is intentionally passed through to the compiler.
is_asn1_flag(_) -> false.
-debug_on(Options) ->
- case lists:member(debug,Options) of
- true ->
- put(asndebug,true);
- _ ->
- true
- end.
-
-debug_off(_Options) ->
- erase(asndebug).
-
outfile(Base, Ext, Opts) ->
% io:format("Opts. ~p~n",[Opts]),