[ruby/etc] Suppress unused function warning
https://github.com/ruby/etc/commit/410c8dd4ae
This commit is contained in:
parent
6d00fa2270
commit
311167ee3a
@ -1311,4 +1311,8 @@ Init_etc(void)
|
|||||||
rb_extend_object(sGroup, rb_mEnumerable);
|
rb_extend_object(sGroup, rb_mEnumerable);
|
||||||
rb_define_singleton_method(sGroup, "each", etc_each_group, 0);
|
rb_define_singleton_method(sGroup, "each", etc_each_group, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_GETPWENT) || defined(HAVE_GETGRENT)
|
||||||
|
(void)safe_setup_str;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user