ruby-changes:65164
From: aycabta <ko1@a...>
Date: Sun, 7 Feb 2021 05:16:48 +0900 (JST)
Subject: [ruby-changes:65164] 433b975fe8 (master): [ruby/reline] Initialize uninitialized variables in tests
https://git.ruby-lang.org/ruby.git/commit/?id=433b975fe8 From 433b975fe88df3eac87dee970f7c46d668774023 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 28 Jan 2021 16:25:27 +0900 Subject: [ruby/reline] Initialize uninitialized variables in tests https://github.com/ruby/reline/commit/25af4bb64b --- lib/reline/line_editor.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 33686ac..ca1df53 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -231,6 +231,8 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L231 @scroll_partial_screen = nil @prev_mode_string = nil @drop_terminate_spaces = false + @in_pasting = false + @auto_indent_proc = nil reset_line end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/