aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_func.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-17 12:03:42 +0100
committerBjörn Gustavsson <[email protected]>2017-03-17 12:03:42 +0100
commit2cc47f22e4cb775422a6a7fb1b94836e7cf51143 (patch)
tree0aca62e47f316873958e72d527a4f464c7572a6f /lib/asn1/src/asn1ct_func.erl
parentcfa27c5e3f977ba6e17f8d2aef729d697877b981 (diff)
parentec57794ac294666a8bf31f9f7f79585ddaeed808 (diff)
downloadotp-2cc47f22e4cb775422a6a7fb1b94836e7cf51143.tar.gz
otp-2cc47f22e4cb775422a6a7fb1b94836e7cf51143.tar.bz2
otp-2cc47f22e4cb775422a6a7fb1b94836e7cf51143.zip
Merge branch 'bjorn/asn1/clean-up'
* bjorn/asn1/clean-up: Remove default clauses that cause exceptions for internal errors Clean up comments Clean up asn1ct_gen:emit/1 Remove unused clauses in asn1ct_gen:emit/1 Clean up use of asn1ct_gen:emit/1 Remove the 'debug' option Only generate needed single quotes around function names asn1ct_gen_ber_bin_v2: Remove unused code asn1ct_gen_per: Fix broken dialyzer suppression function asn1_erl_nif.c: Correct handling of tags >= 16384
Diffstat (limited to 'lib/asn1/src/asn1ct_func.erl')
-rw-r--r--lib/asn1/src/asn1ct_func.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_func.erl b/lib/asn1/src/asn1ct_func.erl
index 0cd72acf9d..016161fcaf 100644
--- a/lib/asn1/src/asn1ct_func.erl
+++ b/lib/asn1/src/asn1ct_func.erl
@@ -65,7 +65,7 @@ generate(Fd) ->
Funcs = sofs:to_external(Funcs0),
ok = file:write(Fd, Funcs).
-is_used({_,_,_}=MFA) ->
+is_used({M,F,A}=MFA) when is_atom(M), is_atom(F), is_integer(A) ->
req({is_used,MFA}).