tweaks: reshuffle four lines, for esthetics

master
Benno Schulenberg 2020-08-03 11:36:35 +02:00
parent c2b6eb01cd
commit 551a971e16
1 changed files with 4 additions and 4 deletions

View File

@ -2419,8 +2419,8 @@ void do_int_speller(const char *tempfile_name)
/* When some child process was not forked successfully... */ /* When some child process was not forked successfully... */
if (pid_spell < 0 || pid_sort < 0 || pid_uniq < 0) { if (pid_spell < 0 || pid_sort < 0 || pid_uniq < 0) {
close(uniq_fd[0]);
statusline(ALERT, _("Could not fork: %s"), strerror(errno)); statusline(ALERT, _("Could not fork: %s"), strerror(errno));
close(uniq_fd[0]);
return; return;
} }
@ -2428,8 +2428,8 @@ void do_int_speller(const char *tempfile_name)
pipesize = fpathconf(uniq_fd[0], _PC_PIPE_BUF); pipesize = fpathconf(uniq_fd[0], _PC_PIPE_BUF);
if (pipesize < 1) { if (pipesize < 1) {
close(uniq_fd[0]);
statusline(ALERT, _("Could not get size of pipe buffer")); statusline(ALERT, _("Could not get size of pipe buffer"));
close(uniq_fd[0]);
return; return;
} }
@ -2639,8 +2639,8 @@ void do_linter(void)
/* If the child process was not forked successfully... */ /* If the child process was not forked successfully... */
if (pid_lint < 0) { if (pid_lint < 0) {
close(lint_fd[0]);
statusline(ALERT, _("Could not fork: %s"), strerror(errno)); statusline(ALERT, _("Could not fork: %s"), strerror(errno));
close(lint_fd[0]);
return; return;
} }
@ -2648,8 +2648,8 @@ void do_linter(void)
pipesize = fpathconf(lint_fd[0], _PC_PIPE_BUF); pipesize = fpathconf(lint_fd[0], _PC_PIPE_BUF);
if (pipesize < 1) { if (pipesize < 1) {
close(lint_fd[0]);
statusline(ALERT, _("Could not get size of pipe buffer")); statusline(ALERT, _("Could not get size of pipe buffer"));
close(lint_fd[0]);
return; return;
} }