summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 14:07:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 14:07:20 +0000
commita16c576fac23463da89d56025c4aca73f705ee33 (patch)
tree99335432740c561bc9d679282839bb90b7d2c01b /process.c
parent330e39d5684d0b4f5b2565eaf6d991185be2ebf0 (diff)
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
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process.c b/process.c
index 9a79b7394f..a3359b210a 100644
--- a/process.c
+++ b/process.c
@@ -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
}