Skip to content

Commit

Permalink
useless use of a variable in void context
Browse files Browse the repository at this point in the history
  • Loading branch information
akzhan committed Sep 13, 2010
1 parent f362f14 commit 1681aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/diff_to_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def process_code_line(line, op)
elsif op == '+'
@diff_lines << { :added => @right_ln, :removed => nil, :op => :addition, :content => line[1..-1] }
@right_ln += 1
else @right_ln
else
@diff_lines << { :added => @right_ln, :removed => @left_ln, :op => :unchanged, :content => line }
@right_ln += 1
@left_ln += 1
Expand Down

0 comments on commit 1681aed

Please sign in to comment.