tweaks: avoid a maybe-uninitialized-variable warning from gcc

This commit is contained in:
Benno Schulenberg 2020-08-04 17:07:01 +02:00
parent c8a87b4d2a
commit 65da6341ba
1 changed files with 3 additions and 2 deletions

View File

@ -2133,8 +2133,9 @@ void treat(char *tempfile_name, char *theprogram, bool spelling)
block_sigwinch(TRUE);
wait(&program_status);
block_sigwinch(FALSE);
} else
errornumber = errno;
}
errornumber = errno;
/* Restore the terminal state and reenter curses mode. */
terminal_init();