aboutsummaryrefslogtreecommitdiffstats
path: root/ruby-runner.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-12 02:29:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-12 02:29:57 +0000
commit1c904182d2d23565da251bbbb64e4e4c9a592ef8 (patch)
treecb64ab31c1f994110f90cc8075a67ad471a4e607 /ruby-runner.c
parent7c5a79efba23cb861dcdb98ffef2227ae9a49bd4 (diff)
downloadruby-1c904182d2d23565da251bbbb64e4e4c9a592ef8.tar.gz
removed unusecd constants
* ruby-runner.c (ruby_libm_func): removed as the following test actually doesn't need the path of libm. * test/fiddle/test_pointer.rb (Fiddle::TestPointer#test_free=): removed never used constants and instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby-runner.c')
-rw-r--r--ruby-runner.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ruby-runner.c b/ruby-runner.c
index b5a2e50659..99be4a0013 100644
--- a/ruby-runner.c
+++ b/ruby-runner.c
@@ -43,10 +43,6 @@ insert_env_path(const char *envname, const char *paths, size_t size, int prepend
setenv(envname, env, 1);
}
-/* force to link libm for fiddle test */
-#include <math.h>
-double (*const ruby_libm_func)(double) = log;
-
#define EXTOUT_DIR BUILDDIR"/"EXTOUT
int
main(int argc, char **argv)