summaryrefslogtreecommitdiff
path: root/ext/coverage
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 04:48:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 04:48:02 +0000
commitbb239558b824759d4892d13f8676861584c1d52f (patch)
tree4bc2d6c6ac3e936344b8fcc94d94221c7e05c96b /ext/coverage
parent1105b5ded769d63742f2de4a040dcfc4c6bd51de (diff)
downloadruby-bb239558b824759d4892d13f8676861584c1d52f.tar.gz
* ext/coverage/coverage.c (rb_mCoverage): removed unneeded static variable.
* ext/socket/socket.c (unix_recv_io): ditto. * ext/socket/socket.c (mConst): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/coverage')
-rw-r--r--ext/coverage/coverage.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c
index 802b505032..145be1834d 100644
--- a/ext/coverage/coverage.c
+++ b/ext/coverage/coverage.c
@@ -10,8 +10,6 @@
#include "ruby.h"
-static VALUE rb_mCoverage;
-
extern VALUE rb_get_coverages(void);
extern void rb_set_coverages(VALUE);
extern void rb_reset_coverages(void);
@@ -97,7 +95,7 @@ rb_coverage_result(VALUE klass)
void
Init_coverage(void)
{
- rb_mCoverage = rb_define_module("Coverage");
+ VALUE rb_mCoverage = rb_define_module("Coverage");
rb_define_module_function(rb_mCoverage, "start", rb_coverage_start, 0);
rb_define_module_function(rb_mCoverage, "result", rb_coverage_result, 0);
}