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

master
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,7 +2133,8 @@ void treat(char *tempfile_name, char *theprogram, bool spelling)
block_sigwinch(TRUE); block_sigwinch(TRUE);
wait(&program_status); wait(&program_status);
block_sigwinch(FALSE); block_sigwinch(FALSE);
} else }
errornumber = errno; errornumber = errno;
/* Restore the terminal state and reenter curses mode. */ /* Restore the terminal state and reenter curses mode. */