summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-04 15:27:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-04 15:27:02 +0000
commit87a34aa07ad47d5eb683b14e601aec0f4c8f9604 (patch)
treeebb98563fbf8c50cefc215631e87e93670abc7a4 /tool
parent141ff8e6a036d529cfd85ad3468df6f661e6372b (diff)
fake.rb: suppress warning
* 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
Diffstat (limited to 'tool')
-rw-r--r--tool/fake.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/fake.rb b/tool/fake.rb
index d7460e2..06f7302 100644
--- a/tool/fake.rb
+++ b/tool/fake.rb
@@ -6,7 +6,7 @@ class File
end
end
-static = !!$static
+static = !!(defined?($static) && $static)
$:.unshift(builddir)
posthook = proc do
config = RbConfig::CONFIG