aboutsummaryrefslogtreecommitdiffstats
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
commiteb2f43a5a51e966612dffe7253173e35500098a3 (patch)
treeebb98563fbf8c50cefc215631e87e93670abc7a4 /tool
parent8c0a1074706644e65a97108fa243751962ddb721 (diff)
downloadruby-eb2f43a5a51e966612dffe7253173e35500098a3.tar.gz
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 d7460e2f85..06f730288a 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