summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-13 00:57:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-13 00:57:34 +0000
commit56e96b9f73f75a46287358a8097a864b4ab35eb5 (patch)
tree17d458b38d3bc3eddb55a6831430219b09657ee2 /ext/dl
parent738c298ce0b832edf5bbd2caed662c1e728a2aa8 (diff)
cptr.c: unused variable
* ext/dl/cptr.c (rb_dlptr_inspect): remove no longer used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/cptr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index b3d7ef9..edaa2e6 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -388,7 +388,6 @@ static VALUE
rb_dlptr_inspect(VALUE self)
{
struct ptr_data *data;
- char str[1024];
TypedData_Get_Struct(self, struct ptr_data, &dlptr_data_type, data);
return rb_sprintf("#<%"PRIsVALUE":%p ptr=%p size=%ld free=%p>",