aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-07-14 12:37:11 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-07-14 12:37:11 +0000
commitb7be72f3058311fbfe1cfa8109e482d32dd44d79 (patch)
tree5178cbd466248cc4959794a99378fba1d66d6462 /src/Haddock/Backends
parent8a74f84ddfa0b6255790daf1a07e77fa0aa1514a (diff)
fix warnings
Diffstat (limited to 'src/Haddock/Backends')
-rw-r--r--src/Haddock/Backends/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/LaTeX.hs b/src/Haddock/Backends/LaTeX.hs
index e349e594..04a139e7 100644
--- a/src/Haddock/Backends/LaTeX.hs
+++ b/src/Haddock/Backends/LaTeX.hs
@@ -501,7 +501,7 @@ ppClassDecl instances loc mbDoc subdocs
ppClassDecl _ _ _ _ _ _ = error "declaration type not supported by ppShortClassDecl"
ppDocInstances :: Bool -> [DocInstance DocName] -> LaTeX
-ppDocInstances unicode [] = empty
+ppDocInstances _unicode [] = empty
ppDocInstances unicode (i : rest)
| Just ihead <- isUndocdInstance i
= declWithDoc (vcat (map (ppInstDecl unicode) (ihead:is))) Nothing $$