aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-15 12:03:55 +0100
committerBjörn Gustavsson <[email protected]>2016-02-15 12:03:55 +0100
commit84818479ea74a7084169f415b9253aa2ff6af69d (patch)
tree6188a429566a549e81f2f1385d7a821bec8eabfd /lib/asn1/src
parente84414ce53c7a1131c2356e81b5417badb1389c8 (diff)
parent52fec5fe09e24a99d439e31c1989482f393f4832 (diff)
downloadotp-84818479ea74a7084169f415b9253aa2ff6af69d.tar.gz
otp-84818479ea74a7084169f415b9253aa2ff6af69d.tar.bz2
otp-84818479ea74a7084169f415b9253aa2ff6af69d.zip
Merge branch 'bjorn/asn1/suppressions/OTP-13324' into maint
* bjorn/asn1/suppressions/OTP-13324: asn1: Suppress warnings for improper lists in generated code
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index 093bcb5a6c..6d5062a118 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -1289,6 +1289,7 @@ gen_head(Erules,Mod,Hrl) ->
emit({"-module('",Mod,"').",nl}),
put(currmod,Mod),
emit({"-compile(nowarn_unused_vars).",nl}),
+ emit({"-dialyzer(no_improper_lists).",nl}),
case Hrl of
0 -> ok;
_ -> emit({"-include(\"",Mod,".hrl\").",nl})