mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
piped_process: silence spurious -Wmaybe-uninitialized warnings
libguile/posix.c: initialize pipes to silence spurious warnings.
This commit is contained in:
parent
aeb89f6ad6
commit
11b027d7e2
1 changed files with 2 additions and 2 deletions
|
@ -1523,8 +1523,8 @@ piped_process (pid_t *pid, SCM prog, SCM args, SCM from, SCM to)
|
|||
#define FUNC_NAME "piped-process"
|
||||
{
|
||||
int reading, writing;
|
||||
int c2p[2]; /* Child to parent. */
|
||||
int p2c[2]; /* Parent to child. */
|
||||
int c2p[2] = {0, 0}; /* Child to parent. */
|
||||
int p2c[2] = {0, 0}; /* Parent to child. */
|
||||
int in = -1, out = -1, err = -1;
|
||||
char *exec_file;
|
||||
char **exec_argv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue