From: Alexandre Terrasa Date: Thu, 25 Sep 2014 01:01:07 +0000 (-0400) Subject: lib/markdown: remove some dead code X-Git-Tag: v0.6.9~18^2 X-Git-Url: http://nitlanguage.org lib/markdown: remove some dead code Shame on me... Signed-off-by: Alexandre Terrasa --- diff --git a/lib/markdown/markdown.nit b/lib/markdown/markdown.nit index bd5e3be..5b73d3b 100644 --- a/lib/markdown/markdown.nit +++ b/lib/markdown/markdown.nit @@ -1332,7 +1332,6 @@ class LineOther line = line.next end # build block - var bk: Block if line != null and not line.is_empty then var block = v.current_block.split(line.prev.as(not null)) if v.in_list and not was_empty then @@ -1973,7 +1972,6 @@ redef class Text var c0: Char var c1: Char var c2: Char - var c3: Char if pos > 0 then c0 = self[pos - 1] @@ -1992,11 +1990,6 @@ redef class Text else c2 = ' ' end - if pos + 3 < length then - c3 = self[pos + 3] - else - c3 = ' ' - end if c == '*' then if c1 == '*' then