summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-07-04 15:27:45 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-07-04 15:35:35 +0200
commitced27def2d33119ed9fcc22f92856f132fd72217 (patch)
treedd6dba85f553ab8f2e7edef393b1aeafb192915b /compiler/parser
parent124f3999d78d8ef6b093e4f1bb1dcef87e4283da (diff)
downloadhaskell-ced27def2d33119ed9fcc22f92856f132fd72217.tar.gz
Remove dead code / overlapping pattern (#9723)
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 1ee5c0315f..8e6e67d8d1 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -2167,8 +2167,6 @@ addTabWarning srcspan
then s{tab_first = tf', tab_count = tc'}
else s
in POk s' ()
-addTabWarning _
- = P $ \s -> POk s ()
mkTabWarning :: PState -> Maybe ErrMsg
mkTabWarning PState{tab_first=tf, tab_count=tc, dflags=d} =