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
This commit is contained in:
parent
738c298ce0
commit
56e96b9f73
@ -388,7 +388,6 @@ static VALUE
|
|||||||
rb_dlptr_inspect(VALUE self)
|
rb_dlptr_inspect(VALUE self)
|
||||||
{
|
{
|
||||||
struct ptr_data *data;
|
struct ptr_data *data;
|
||||||
char str[1024];
|
|
||||||
|
|
||||||
TypedData_Get_Struct(self, struct ptr_data, &dlptr_data_type, data);
|
TypedData_Get_Struct(self, struct ptr_data, &dlptr_data_type, data);
|
||||||
return rb_sprintf("#<%"PRIsVALUE":%p ptr=%p size=%ld free=%p>",
|
return rb_sprintf("#<%"PRIsVALUE":%p ptr=%p size=%ld free=%p>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user