]> source.dussan.org Git - redmine.git/commitdiff
Unused variable
authorEric Davis <edavis@littlestreamsoftware.com>
Sat, 19 Jun 2010 03:54:28 +0000 (03:54 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sat, 19 Jun 2010 03:54:28 +0000 (03:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3774 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/attachment.rb

index f05b35c778d58614f2a1aee40186738c8c47d968..99e461dc8a837fb24390c35a8840ca1dfea25a7b 100644 (file)
@@ -141,7 +141,6 @@ class Attachment < ActiveRecord::Base
   # :unsaved => array of the files that could not be attached
   def self.attach_files(obj, attachments)
     attached = []
-    unsaved = []
     if attachments && attachments.is_a?(Hash)
       attachments.each_value do |attachment|
         file = attachment['file']