aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-22 21:05:52 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-22 21:05:52 -0700
commita21833b638c6c54925c89f91bfe09c056e5481a8 (patch)
treeadd744d69ffa7f7ad3249d4bd3a088fb2ff36196 /src/Text/Pandoc
parent317d9eea17e9181e2e0b54651c7f04e6d0e8c230 (diff)
downloadpandoc-a21833b638c6c54925c89f91bfe09c056e5481a8.tar.gz
Avoid compiler warning for unused identifier.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Textile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Textile.hs b/src/Text/Pandoc/Writers/Textile.hs
index e6b92d442..dbc9eb40a 100644
--- a/src/Text/Pandoc/Writers/Textile.hs
+++ b/src/Text/Pandoc/Writers/Textile.hs
@@ -287,7 +287,7 @@ isSimpleList :: Block -> Bool
isSimpleList x =
case x of
BulletList items -> all isSimpleListItem items
- OrderedList (num, sty, _) items -> all isSimpleListItem items &&
+ OrderedList (_, sty, _) items -> all isSimpleListItem items &&
sty `elem` [DefaultStyle, Decimal]
_ -> False