Permalink
Browse files

Remove not used variable warning

  • Loading branch information...
1 parent 871a7db commit ba6b243b61a5a67be1855c05340de14eca966e27 @carlosantoniodasilva carlosantoniodasilva committed Jan 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/multibyte/chars.rb
@@ -437,7 +437,7 @@ def translate_offset(byte_offset) #:nodoc:
begin
@wrapped_string[0...byte_offset].unpack('U*').length
- rescue ArgumentError => e
+ rescue ArgumentError
byte_offset -= 1
retry
end

0 comments on commit ba6b243

Please sign in to comment.