[前][次][番号順一覧][スレッド一覧]

ruby-changes:70347

From: aycabta <ko1@a...>
Date: Mon, 20 Dec 2021 15:53:08 +0900 (JST)
Subject: [ruby-changes:70347] 6ccc15c2ab (master): [ruby/reline] Rename an unused variable name for CI

https://git.ruby-lang.org/ruby.git/commit/?id=6ccc15c2ab

From 6ccc15c2abbc0e96fb2e4d02a584819116743b44 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 20 Dec 2021 15:53:24 +0900
Subject: [ruby/reline] Rename an unused variable name for CI

https://github.com/ruby/reline/commit/ba97f3bd87
---
 lib/reline/windows.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb
index 45944acb9d4..a89bd304152 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -413,7 +413,7 @@ class Reline::Windows https://github.com/ruby/ruby/blob/trunk/lib/reline/windows.rb#L413
   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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]