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

ruby-changes:68208

From: xtkoba <ko1@a...>
Date: Sun, 3 Oct 2021 11:06:42 +0900 (JST)
Subject: [ruby-changes:68208] c5ff954410 (master): Get rid of unused function warning for `_WIN32`

https://git.ruby-lang.org/ruby.git/commit/?id=c5ff954410

From c5ff9544107796fee2a6cccafdd1da5181e53b87 Mon Sep 17 00:00:00 2001
From: xtkoba <69125751+xtkoba@u...>
Date: Sun, 9 May 2021 10:32:11 +0900
Subject: Get rid of unused function warning for `_WIN32`

---
 file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/file.c b/file.c
index 626043816f..10da703059 100644
--- a/file.c
+++ b/file.c
@@ -3355,7 +3355,6 @@ getcwdofdrv(int drv) https://github.com/ruby/ruby/blob/trunk/file.c#L3355
     }
     return drvcwd;
 }
-#endif
 
 static inline int
 not_same_drive(VALUE path, int drive)
@@ -3370,6 +3369,7 @@ not_same_drive(VALUE path, int drive) https://github.com/ruby/ruby/blob/trunk/file.c#L3369
     }
 }
 #endif
+#endif
 
 static inline char *
 skiproot(const char *path, const char *end, rb_encoding *enc)
-- 
cgit v1.2.1


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

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