diff options
author | Kostis Sagonas <[email protected]> | 2010-11-18 17:30:26 +0200 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2010-11-18 17:30:26 +0200 |
commit | 508a6d2a69e5d3395816fa353d813adb61aa835f (patch) | |
tree | 0219df1d02407905a16dd63128f55ff31fd6cb92 /lib/asn1/src/asn1ct.erl | |
parent | f26528bbea0a24674e797a58b97117c1f8cf163f (diff) | |
download | otp-508a6d2a69e5d3395816fa353d813adb61aa835f.tar.gz otp-508a6d2a69e5d3395816fa353d813adb61aa835f.tar.bz2 otp-508a6d2a69e5d3395816fa353d813adb61aa835f.zip |
Shut off some dialyzer warnings
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
-rw-r--r-- | lib/asn1/src/asn1ct.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl index 968468cb7f..fb2614aa2c 100644 --- a/lib/asn1/src/asn1ct.erl +++ b/lib/asn1/src/asn1ct.erl @@ -149,7 +149,7 @@ compile1(File,Options) when is_list(Options) -> inline(true,Name,Module,Options) -> RTmodule = get_runtime_mod(Options), IgorOptions = igorify_options(remove_asn_flags(Options)), - IgorName = filename:rootname(filename:basename(Name)), + IgorName = list_to_atom(filename:rootname(filename:basename(Name))), % io:format("*****~nName: ~p~nModules: ~p~nIgorOptions: ~p~n*****~n", % [IgorName,Modules++RTmodule,IgorOptions]), report_verbose("Inlining modules: ~p in ~p~n",[[Module]++RTmodule,IgorName],Options), @@ -1183,6 +1183,7 @@ is_inline(Options) -> _ -> lists:keymember(inline,1,Options) end. + inline_output(Options,Default) -> case [X||{inline,X}<-Options] of [OutputName] -> |