summaryrefslogtreecommitdiff
path: root/compiler/GHC/Utils/Error.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Utils/Error.hs')
-rw-r--r--compiler/GHC/Utils/Error.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/GHC/Utils/Error.hs b/compiler/GHC/Utils/Error.hs
index 8ea61c6f39..66783daf33 100644
--- a/compiler/GHC/Utils/Error.hs
+++ b/compiler/GHC/Utils/Error.hs
@@ -142,9 +142,6 @@ diagReasonSeverity opts reason = case reason of
| not (diag_wopt_custom wcat opts) -> SevIgnore
| diag_fatal_wopt_custom wcat opts -> SevError
| otherwise -> SevWarning
- WarningWithoutFlag
- | diag_warn_is_error opts -> SevError
- | otherwise -> SevWarning
ErrorWithoutFlag
-> SevError