aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-12-20 15:53:24 +0900
committergit <svn-admin@ruby-lang.org>2021-12-20 15:52:51 +0900
commit6ccc15c2abbc0e96fb2e4d02a584819116743b44 (patch)
treefe3782e6298471c4d1f4d2ca8ea3e0a99aa3febe
parent7572e0c6eca8930c875073ff944d5729f3b7a160 (diff)
downloadruby-6ccc15c2abbc0e96fb2e4d02a584819116743b44.tar.gz
[ruby/reline] Rename an unused variable name for CI
https://github.com/ruby/reline/commit/ba97f3bd87
-rw-r--r--lib/reline/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb
index 45944acb9d..a89bd30415 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -413,7 +413,7 @@ class Reline::Windows
def self.clear_screen
if @@legacy_console
return unless csbi = get_console_screen_buffer_info
- buffer_width, buffer_lines, attributes, window_top, window_bottom = csbi.unpack('ss@8S@12sx2s')
+ buffer_width, _buffer_lines, attributes, window_top, window_bottom = csbi.unpack('ss@8S@12sx2s')
fill_length = buffer_width * (window_bottom - window_top + 1)
screen_topleft = window_top * 65536
written = 0.chr * 4