From b7be72f3058311fbfe1cfa8109e482d32dd44d79 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 14 Jul 2010 12:37:11 +0000 Subject: fix warnings --- src/Haddock/Backends/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $$ -- cgit v1.2.3