]> source.dussan.org Git - redmine.git/commitdiff
Removed useless local variable.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 26 Nov 2014 21:10:48 +0000 (21:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 26 Nov 2014 21:10:48 +0000 (21:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/gantt.rb

index 00e6370f237d047741ae8d5003e66291d47bd6ac..64d301fa52ef85070c51c3d59d79fe3773b9df26 100644 (file)
@@ -372,7 +372,7 @@ module Redmine
       end
 
       def subject_for_issue(issue, options)
-        output = case options[:format]
+        case options[:format]
         when :html
           css_classes = ''
           css_classes << ' issue-overdue' if issue.overdue?
@@ -403,7 +403,6 @@ module Redmine
           pdf_new_page?(options)
           pdf_subject(options, issue.subject)
         end
-        output
       end
 
       def line_for_issue(issue, options)