tweaks: avoid a complaint about uninitialized memory [valgrind]
This addresses https://savannah.gnu.org/bugs/?57932.master
parent
8848ac5a9b
commit
4409b275fc
|
@ -930,7 +930,7 @@ bool execute_command(const char *command)
|
||||||
/* The pipes through which text will be written and read. */
|
/* The pipes through which text will be written and read. */
|
||||||
const bool should_pipe = (command[0] == '|');
|
const bool should_pipe = (command[0] == '|');
|
||||||
FILE *stream;
|
FILE *stream;
|
||||||
struct sigaction oldaction, newaction;
|
struct sigaction oldaction, newaction = {{0}};
|
||||||
/* Original and temporary handlers for SIGINT. */
|
/* Original and temporary handlers for SIGINT. */
|
||||||
|
|
||||||
/* Create a pipe to read the command's output from, and, if needed,
|
/* Create a pipe to read the command's output from, and, if needed,
|
||||||
|
|
Loading…
Reference in New Issue