[前][次][番号順一覧][スレッド一覧]

ruby-changes:32498

From: nobu <ko1@a...>
Date: Mon, 13 Jan 2014 09:57:39 +0900 (JST)
Subject: [ruby-changes:32498] nobu:r44577 (trunk): cptr.c: unused variable

nobu	2014-01-13 09:57:34 +0900 (Mon, 13 Jan 2014)

  New Revision: 44577

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44577

  Log:
    cptr.c: unused variable
    
    * ext/dl/cptr.c (rb_dlptr_inspect): remove no longer used variable.

  Modified files:
    trunk/ext/dl/cptr.c
Index: ext/dl/cptr.c
===================================================================
--- ext/dl/cptr.c	(revision 44576)
+++ ext/dl/cptr.c	(revision 44577)
@@ -388,7 +388,6 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/ext/dl/cptr.c#L388
 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>",

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]