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

ruby-changes:44460

From: nobu <ko1@a...>
Date: Tue, 1 Nov 2016 01:01:41 +0900 (JST)
Subject: [ruby-changes:44460] nobu:r56533 (trunk): dir.c: suppress a warning

nobu	2016-11-01 01:01:30 +0900 (Tue, 01 Nov 2016)

  New Revision: 56533

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

  Log:
    dir.c: suppress a warning
    
    * dir.c (to_be_ignored): remove duplicate inline modifier, and
      suppress a warning by VC.

  Modified files:
    trunk/dir.c
Index: dir.c
===================================================================
--- dir.c	(revision 56532)
+++ dir.c	(revision 56533)
@@ -1233,7 +1233,7 @@ sys_enc_warning_in(const char *func, con https://github.com/ruby/ruby/blob/trunk/dir.c#L1233
  * ENOTDIR can be returned by stat(2) if a non-leaf element of the path
  * is not a directory.
  */
-ALWAYS_INLINE(static inline int to_be_ignored(int e));
+ALWAYS_INLINE(static int to_be_ignored(int e));
 static inline int
 to_be_ignored(int e)
 {

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

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