process.c: suppress warning
* process.c (compare_posix_sh): not used on Win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43bc8f9beb
commit
9c48976392
@ -1826,6 +1826,7 @@ rb_exec_getargs(int *argc_p, VALUE **argv_p, int accept_shell, VALUE *env_ret, V
|
|||||||
return prog;
|
return prog;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
struct string_part {
|
struct string_part {
|
||||||
const char *ptr;
|
const char *ptr;
|
||||||
size_t len;
|
size_t len;
|
||||||
@ -1839,6 +1840,7 @@ compare_posix_sh(const void *key, const void *el)
|
|||||||
if (!ret && ((const char *)el)[word->len]) ret = -1;
|
if (!ret && ((const char *)el)[word->len]) ret = -1;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, struct rb_exec_arg *e)
|
rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, struct rb_exec_arg *e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user