]> source.dussan.org Git - redmine.git/commitdiff
code cleanup scm_iconv (#12228)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Oct 2012 11:39:43 +0000 (11:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Oct 2012 11:39:43 +0000 (11:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10742 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 28f5f16f8e44d0c705cdbc927ded49b566ff16d8..488e7d73b69a32b37d4214e6652c8bf0c6926ef3 100644 (file)
@@ -263,7 +263,7 @@ module Redmine
           if str.respond_to?(:force_encoding)
             str.force_encoding(from)
             begin
-              s = str.encode(to)
+              str.encode(to)
             rescue Exception => err
               logger.error("failed to convert from #{from} to #{to}. #{err}")
               nil