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

ruby-changes:46738

From: nobu <ko1@a...>
Date: Tue, 23 May 2017 20:36:03 +0900 (JST)
Subject: [ruby-changes:46738] nobu:r58853 (trunk): unused member

nobu	2017-05-23 20:35:54 +0900 (Tue, 23 May 2017)

  New Revision: 58853

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58853

  Log:
    unused member
    
    * vsnprintf.c (__sFILE): _lbfsize is not used.

  Modified files:
    trunk/vsnprintf.c
Index: vsnprintf.c
===================================================================
--- vsnprintf.c	(revision 58852)
+++ vsnprintf.c	(revision 58853)
@@ -175,7 +175,9 @@ typedef	struct __sFILE { https://github.com/ruby/ruby/blob/trunk/vsnprintf.c#L175
 	short	_flags;		/* flags, below; this FILE is free if 0 */
 	short	_file;		/* fileno, if Unix descriptor, else -1 */
 	struct	__sbuf _bf;	/* the buffer (at least 1 byte, if !NULL) */
+#if 0
 	size_t	_lbfsize;	/* 0 or -_bf._size, for inline putc */
+#endif
 	int	(*vwrite)(/* struct __sFILE*, struct __suio * */);
 	const char *(*vextra)(/* struct __sFILE*, size_t, void*, long*, int */);
 } FILE;

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

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