summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-07-31 22:13:58 +0900
committergit <[email protected]>2024-07-31 13:20:01 +0000
commit12a5400a8846ed05284b4360faeae72e49e55f93 (patch)
tree11c985c2b3f6de1e390c0ac22f63073854628a92
parentdedc4965985151a414d019243f9418ebd8f9aa0d (diff)
[ruby/io-console] Remove no longer used variable
https://github.com/ruby/io-console/commit/651797ff8a
-rw-r--r--ext/io/console/console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index d88184ec9d..38f6b5b7af 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -1626,7 +1626,6 @@ console_dev(int argc, VALUE *argv, VALUE klass)
#endif
#ifdef CONSOLE_DEVICE_FOR_WRITING
VALUE out;
- rb_io_t *ofptr;
#endif
int fd;
VALUE path = rb_obj_freeze(rb_str_new2(CONSOLE_DEVICE));