Skip to content

Commit

Permalink
fake.rb: suppress warning
Browse files Browse the repository at this point in the history
* tool/fake.rb: get rid of use of uninitialized global variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Sep 4, 2015
1 parent 141ff8e commit 87a34aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/fake.rb
Expand Up @@ -6,7 +6,7 @@ class File
end
end

static = !!$static
static = !!(defined?($static) && $static)
$:.unshift(builddir)
posthook = proc do
config = RbConfig::CONFIG
Expand Down

0 comments on commit 87a34aa

Please sign in to comment.