From 1c904182d2d23565da251bbbb64e4e4c9a592ef8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Jul 2018 02:29:57 +0000 Subject: 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 --- ruby-runner.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ruby-runner.c') 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 -double (*const ruby_libm_func)(double) = log; - #define EXTOUT_DIR BUILDDIR"/"EXTOUT int main(int argc, char **argv) -- cgit v1.2.1