From bca19138bf3c16edad26ae34f44bb18805156a9a Mon Sep 17 00:00:00 2001 From: erw7 Date: Tue, 23 Feb 2021 00:55:28 +0900 Subject: [PATCH] tui: fix possibility of evaluating uninitialized variables (#13987) --- src/nvim/tui/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index 3e683a4926..6705ab98c2 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -557,8 +557,8 @@ HandleState ut_handle_background_color(TermInput *input) static void handle_raw_buffer(TermInput *input, bool force) { - HandleState is_paste; - HandleState is_bc; + HandleState is_paste = kNotApplicable; + HandleState is_bc = kNotApplicable; do { if (!force