From acacebd3fb78dc978428de5ce3fa1b6886d872bf Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Wed, 24 Sep 2014 21:01:07 -0400 Subject: [PATCH] lib/markdown: remove some dead code Shame on me... Signed-off-by: Alexandre Terrasa --- lib/markdown/markdown.nit | 7 ------- 1 file changed, 7 deletions(-) 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 -- 1.7.9.5