mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (rb_spawn_internal): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2bb561ea5f
commit
c569163e9e
1 changed files with 2 additions and 0 deletions
|
@ -2838,7 +2838,9 @@ rb_spawn_internal(int argc, VALUE *argv, int default_close_others,
|
||||||
char *errmsg, size_t errmsg_buflen)
|
char *errmsg, size_t errmsg_buflen)
|
||||||
{
|
{
|
||||||
rb_pid_t pid;
|
rb_pid_t pid;
|
||||||
|
#if defined HAVE_FORK || !defined HAVE_SPAWNV
|
||||||
int status;
|
int status;
|
||||||
|
#endif
|
||||||
VALUE prog;
|
VALUE prog;
|
||||||
struct rb_exec_arg earg;
|
struct rb_exec_arg earg;
|
||||||
#if !defined HAVE_FORK
|
#if !defined HAVE_FORK
|
||||||
|
|
Loading…
Reference in a new issue