summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-24 21:55:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-24 21:55:27 -0700
commitce5671ae0289b05322c09bb80af2d3317acd544f (patch)
treed63a88d3b29046162d5eec6145d5887202f433dc /src/inlines.c
parent0d546c29f28f6c185105a06d0fb3669f7647b9f2 (diff)
Removed redundant check.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 6ed0661..ad7a104 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -509,8 +509,6 @@ static void process_emphasis(subject *subj, delimiter *stack_bottom) {
// interior closer of size 2 can't match opener of size 1
// or of size 1 can't match 2
odd_match = (closer->can_open || opener->can_close) &&
- opener->inl_text->as.literal.len !=
- closer->inl_text->as.literal.len &&
((opener->inl_text->as.literal.len +
closer->inl_text->as.literal.len) % 3 == 0);
if (opener->delim_char == closer->delim_char && opener->can_open &&