aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-25 11:51:08 +0100
committerBjörn Gustavsson <[email protected]>2013-01-25 13:07:38 +0100
commit1059b1bb0c368d84fac0b5e991bd216f448aaf0d (patch)
tree11f8c90c737282ebf9105624d56ce9cca3ba381c
parentfb3cd31f6ec3ef2e227587272a8c02445866cea5 (diff)
downloadotp-1059b1bb0c368d84fac0b5e991bd216f448aaf0d.tar.gz
otp-1059b1bb0c368d84fac0b5e991bd216f448aaf0d.tar.bz2
otp-1059b1bb0c368d84fac0b5e991bd216f448aaf0d.zip
erl_lint: Remove vestiges of package support
1c1649481025236cad29a7ee3cbd8f552757b2b6 dropped support for packages in erl_lint, but did not remove the error message for {bad_module_name,M}.
-rw-r--r--lib/stdlib/src/erl_lint.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl
index 642d972582..f75f19b02e 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -136,8 +136,6 @@ value_option(Flag, Default, On, OnVal, Off, OffVal, Opts) ->
format_error(undefined_module) ->
"no module definition";
-format_error({bad_module_name, M}) ->
- io_lib:format("bad module name '~s'", [M]);
format_error(redefine_module) ->
"redefining module";
format_error(pmod_unsupported) ->