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:
parent
330e39d568
commit
a16c576fac
@ -5106,6 +5106,7 @@ p_uid_change_privilege(VALUE obj, VALUE id)
|
|||||||
SAVED_USER_ID = uid;
|
SAVED_USER_ID = uid;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
(void)uid;
|
||||||
rb_notimplement();
|
rb_notimplement();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -5896,6 +5897,7 @@ p_gid_change_privilege(VALUE obj, VALUE id)
|
|||||||
rb_sys_fail(0);
|
rb_sys_fail(0);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
(void)gid;
|
||||||
rb_notimplement();
|
rb_notimplement();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user