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

ruby-changes:32754

From: ko1 <ko1@a...>
Date: Wed, 5 Feb 2014 14:42:55 +0900 (JST)
Subject: [ruby-changes:32754] ko1:r44833 (trunk): * vsnprintf.c: remove duplicated def of `UNINITIALIZED_VAR()'.

ko1	2014-02-05 14:42:52 +0900 (Wed, 05 Feb 2014)

  New Revision: 44833

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

  Log:
    * vsnprintf.c: remove duplicated def of `UNINITIALIZED_VAR()'.

  Modified files:
    trunk/ChangeLog
    trunk/vsnprintf.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44832)
+++ ChangeLog	(revision 44833)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb  5 14:41:56 2014  Koichi Sasada  <ko1@a...>
+
+	* vsnprintf.c: remove duplicated def of `UNINITIALIZED_VAR()'.
+
 Wed Feb  5 14:40:16 2014  Koichi Sasada  <ko1@a...>
 
 	* ext/objspace/objspace_dump.c (dump_object): use STR_SHARED_P()
Index: vsnprintf.c
===================================================================
--- vsnprintf.c	(revision 44832)
+++ vsnprintf.c	(revision 44833)
@@ -127,12 +127,6 @@ https://github.com/ruby/ruby/blob/trunk/vsnprintf.c#L127
 # include <errno.h>
 #endif
 
-#if __GNUC__ >= 3
-#define UNINITIALIZED_VAR(x) x = x
-#else
-#define UNINITIALIZED_VAR(x) x
-#endif
-
 /*
  * NB: to fit things in six character monocase externals, the stdio
  * code uses the prefix `__s' for stdio objects, typically followed

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

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