Remove useless assignments
This commit is contained in:
parent
12546f895f
commit
0a8039eb77
|
@ -31,10 +31,8 @@ module Gitlab
|
|||
def position_mapping
|
||||
@position_mapping ||= begin
|
||||
mapping = []
|
||||
raw_pos = 0
|
||||
rich_pos = 0
|
||||
(0..raw_line.length).each do |raw_pos|
|
||||
raw_char = raw_line[raw_pos]
|
||||
rich_char = rich_line[rich_pos]
|
||||
|
||||
# The raw and rich lines are the same except for HTML tags,
|
||||
|
|
Loading…
Reference in New Issue