tui: fix possibility of evaluating uninitialized variables (#13987)

This commit is contained in:
erw7 2021-02-23 00:55:28 +09:00 committed by GitHub
parent 7bcac75f30
commit bca19138bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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