diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-19 13:56:36 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-19 13:56:36 +0100 |
commit | 0a8039eb7790426880bdd7b9d67775aeb6e5dac7 (patch) | |
tree | a96a8c63a97b364d76b409b3df5b1d83996f376c | |
parent | 12546f895f86929ffe69299a02c93692370ee55a (diff) | |
download | gitlab-ce-0a8039eb7790426880bdd7b9d67775aeb6e5dac7.tar.gz |
Remove useless assignments
-rw-r--r-- | lib/gitlab/diff/inline_diff_marker.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/diff/inline_diff_marker.rb b/lib/gitlab/diff/inline_diff_marker.rb index 405465a641f..8998ccba5ce 100644 --- a/lib/gitlab/diff/inline_diff_marker.rb +++ b/lib/gitlab/diff/inline_diff_marker.rb @@ -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, |