[#444] Remove extra variable

This commit is contained in:
Eric Davis 2011-06-03 10:50:16 -07:00
parent f518251d5f
commit ba3ddee99d
1 changed files with 2 additions and 2 deletions

View File

@ -259,10 +259,10 @@ class Changeset < ActiveRecord::Base
end
end
else
ic = Iconv.new('UTF-8', normalized_encoding)
txtar = ""
begin
txtar += ic.iconv(str)
txtar += Iconv.new('UTF-8', normalized_encoding).iconv(str)
rescue Iconv::IllegalSequence
txtar += $!.success
str = '?' + $!.failed[1,$!.failed.length]