Skip to content

Commit

Permalink
intern/select/posix.h: remove unused parameter from rb_fd_dup
Browse files Browse the repository at this point in the history
This unused parameter seems to be accidently introduced by ruby@9e6e39c
  • Loading branch information
kateinoigakukun authored and mame committed Dec 10, 2021
1 parent e5ff030 commit ecb2ff6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/ruby/internal/intern/select/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ RBIMPL_ATTR_NOALIAS()
*
* @param[out] dst Target fdset.
* @param[in] src Source fdset.
* @param[in] n Unused parameter.
* @post `dst` is a copy of `src`.
*/
static inline void
rb_fd_dup(rb_fdset_t *dst, const fd_set *src, int n)
rb_fd_dup(rb_fdset_t *dst, const fd_set *src)
{
*dst = *src;
}
Expand Down

0 comments on commit ecb2ff6

Please sign in to comment.