aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2016-10-29 23:30:49 +0200
committerRichard Carlsson <[email protected]>2016-11-29 14:15:32 +0100
commit12f6a1b18fc573ce3f245bfd69e62fbaa378b80e (patch)
treed78cf077988389c08da00d4acd6b088b0bce3305 /lib/tools
parent46702bf0a9bab4a2a2ddce93e7e263b126ad9dcc (diff)
downloadotp-12f6a1b18fc573ce3f245bfd69e62fbaa378b80e.tar.gz
otp-12f6a1b18fc573ce3f245bfd69e62fbaa378b80e.tar.bz2
otp-12f6a1b18fc573ce3f245bfd69e62fbaa378b80e.zip
warn_obsolete_guard is already default
Update compiler documentation and remove superfluous erlc flags.
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/emacs/erlang-flymake.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tools/emacs/erlang-flymake.el b/lib/tools/emacs/erlang-flymake.el
index 2e447b55de..0b7936a81f 100644
--- a/lib/tools/emacs/erlang-flymake.el
+++ b/lib/tools/emacs/erlang-flymake.el
@@ -37,8 +37,7 @@
"Return a list of include directories to add to the compiler options.")
(defvar erlang-flymake-extra-opts
- (list "+warn_obsolete_guard"
- "+warn_unused_import"
+ (list "+warn_unused_import"
"+warn_shadow_vars"
"+warn_export_vars"
"+strong_validation"