aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-11-01 13:38:20 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-11-01 13:38:24 +0300
commit5cffd6bc77896baf8a1a62fe6110cd90cf38a6b9 (patch)
tree574c19f337c008809d8c36c8b7e150a774309bdb /src/Text
parent512732db7b1a5be9a84c6d9d52ece77fb7339cae (diff)
downloadpandoc-5cffd6bc77896baf8a1a62fe6110cd90cf38a6b9.tar.gz
LaTeX writer: remove unused local bind
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index a2c7ac34f..480c97356 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -1276,7 +1276,7 @@ inlineToLaTeX (Note contents) = do
-- or the closing delimiter gets swallowed.
handleMathComment :: String -> String
handleMathComment s =
- let (xs, ys) = break (\c -> c == '\n' || c == '%') $ reverse s
+ let (_, ys) = break (\c -> c == '\n' || c == '%') $ reverse s
in case ys of
'%':'\\':_ -> s
'%':_ -> s ++ "\n"