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

* process.c (pst_message): removed no longer used variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-07-22 12:55:36 +00:00
parent 7771f6c0ee
commit 09a5952737

View file

@ -277,7 +277,6 @@ pst_pid(VALUE st)
static void static void
pst_message(VALUE str, rb_pid_t pid, int status) pst_message(VALUE str, rb_pid_t pid, int status)
{ {
char buf[256];
rb_str_catf(str, "pid %ld", (long)pid); rb_str_catf(str, "pid %ld", (long)pid);
if (WIFSTOPPED(status)) { if (WIFSTOPPED(status)) {
int stopsig = WSTOPSIG(status); int stopsig = WSTOPSIG(status);