tweaks: avoid a complaint about uninitialized memory [valgrind]

This addresses https://savannah.gnu.org/bugs/?57932.
master
Benno Schulenberg 2020-03-01 17:06:34 +01:00
parent 8848ac5a9b
commit 4409b275fc
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ bool execute_command(const char *command)
/* The pipes through which text will be written and read. */
const bool should_pipe = (command[0] == '|');
FILE *stream;
struct sigaction oldaction, newaction;
struct sigaction oldaction, newaction = {{0}};
/* Original and temporary handlers for SIGINT. */
/* Create a pipe to read the command's output from, and, if needed,