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

process.c: suppress warnings

* process.c (p_uid_change_privilege, p_gid_change_privilege): suppress
  set-but-unsed warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-01-15 14:07:20 +00:00
parent 330e39d568
commit a16c576fac

View file

@ -5106,6 +5106,7 @@ p_uid_change_privilege(VALUE obj, VALUE id)
SAVED_USER_ID = uid;
}
#else
(void)uid;
rb_notimplement();
#endif
}
@ -5896,6 +5897,7 @@ p_gid_change_privilege(VALUE obj, VALUE id)
rb_sys_fail(0);
}
#else
(void)gid;
rb_notimplement();
#endif
}