summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-12 21:59:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-12 22:06:44 -0700
commit5ae48b7eaf55de42f55d885673a394af7de89641 (patch)
treed57d462fff16b05c3580effbc85e24e6d32856f9 /src
parent0439f6f964036de9b3c937f1cca80f825d0cc0fe (diff)
Fixed warning.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/PDF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs
index 8d9e69ee1..2d602a0df 100644
--- a/src/Text/Pandoc/PDF.hs
+++ b/src/Text/Pandoc/PDF.hs
@@ -122,7 +122,7 @@ convertImage tmpdir fname =
Just "application/pdf" -> doNothing
_ -> JP.readImage fname >>= \res ->
case res of
- Left msg -> return $ Left $ "Unable to convert `" ++
+ Left _ -> return $ Left $ "Unable to convert `" ++
fname ++ "' for use with pdflatex."
Right img ->
E.catch (Right fileOut <$ JP.savePngImage fileOut img) $