aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/dialyzer/src/dialyzer_utils.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_utils.erl b/lib/dialyzer/src/dialyzer_utils.erl
index 4e2ec67b35..a81670b117 100644
--- a/lib/dialyzer/src/dialyzer_utils.erl
+++ b/lib/dialyzer/src/dialyzer_utils.erl
@@ -451,6 +451,8 @@ cleanup_compile_options([asm|Opts]) ->
Opts;
cleanup_compile_options([from_core|Opts]) ->
Opts;
+cleanup_compile_options([warnings_as_errors|Opts]) ->
+ Opts;
%% The parse transform will already have been applied, may cause problems if it
%% is re-applied.
cleanup_compile_options([{parse_transform, _}|Opts]) ->