Skip to content
Snippets Groups Projects
Commit 0a8039eb authored by Douwe Maan's avatar Douwe Maan
Browse files

Remove useless assignments

parent 12546f89
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment