From 218755f3065f39b1d39a6c25f3d9253a4cbbf249 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 7 Dec 2013 10:25:33 +0000 Subject: * lib/fileutils.rb: remove unnecessary initialization. by @vipulnsward [fix GH-463] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fileutils.rb') diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 44519d0d31..3b4e30213e 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -1150,7 +1150,7 @@ module FileUtils def touch(list, options = {}) fu_check_options options, OPT_TABLE['touch'] list = fu_list(list) - created = nocreate = options[:nocreate] + nocreate = options[:nocreate] t = options[:mtime] if options[:verbose] fu_output_message "touch #{nocreate ? '-c ' : ''}#{t ? t.strftime('-t %Y%m%d%H%M.%S ') : ''}#{list.join ' '}" -- cgit v1.2.3