1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

dir.c: suppress a warning

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-10-31 16:01:30 +00:00
parent 64116ea980
commit c72fc9f323

2
dir.c
View file

@ -1233,7 +1233,7 @@ sys_enc_warning_in(const char *func, const char *mesg, rb_encoding *enc)
* ENOTDIR can be returned by stat(2) if a non-leaf element of the path * ENOTDIR can be returned by stat(2) if a non-leaf element of the path
* is not a directory. * 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 static inline int
to_be_ignored(int e) to_be_ignored(int e)
{ {