From db52e5b5ecd6a47d2be539030686ca92d2b2c417 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 16 May 2001 09:05:54 +0000 Subject: * array.c (rb_ary_and): should not push frozen key string. * array.c (rb_ary_or): ditto. * eval.c (rb_thread_schedule): should save context before raising deadlock, saved context for current thread might be obsolete. * time.c (make_time_t): non DST timezone shift supported (hopefully). * time.c (make_time_t): strict range detection for negative time_t. * signal.c: SIGINFO added. * eval.c (rb_ensure): should not SEGV when prot_tag is NULL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 65704591b..bd7d91957 100644 --- a/io.c +++ b/io.c @@ -344,8 +344,6 @@ rb_io_seek_m(argc, argv, io) { VALUE offset, ptrname; int whence; - OpenFile *fptr; - long pos; rb_scan_args(argc, argv, "11", &offset, &ptrname); if (argc == 1) whence = SEEK_SET; @@ -1959,7 +1957,6 @@ static VALUE rb_io_clone(io) VALUE io; { - VALUE klass; OpenFile *fptr, *orig; int fd; char *mode; @@ -3082,7 +3079,7 @@ rb_io_s_pipe() { #ifndef __human68k__ int pipes[2]; - VALUE r, w, ary; + VALUE r, w; #ifdef NT if (_pipe(pipes, 1024, O_BINARY) == -1) -- cgit