diff options
author | Tim Kientzle <kientzle@acm.org> | 2022-10-01 09:53:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 09:53:23 -0700 |
commit | 552547eacf6bfbdf5052f33cad57f181b6f92a61 (patch) | |
tree | e9cc98b9455413d2949e6b5681203a2121af6e02 /libarchive | |
parent | fa86fb55860db2b305436c82d7e890fde832d3d6 (diff) | |
parent | 669c987709069340cd827b0238563732b63f213f (diff) | |
download | libarchive-552547eacf6bfbdf5052f33cad57f181b6f92a61.tar.gz |
Merge pull request #1721 from wangkerong/master
libarchive:uninitialized value
Diffstat (limited to 'libarchive')
-rw-r--r-- | libarchive/filter_fork_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/filter_fork_posix.c b/libarchive/filter_fork_posix.c index ac255c4f..62085a70 100644 --- a/libarchive/filter_fork_posix.c +++ b/libarchive/filter_fork_posix.c @@ -76,7 +76,7 @@ int __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, pid_t *out_child) { - pid_t child; + pid_t child = -1; int stdin_pipe[2], stdout_pipe[2], tmp; #if HAVE_POSIX_SPAWNP posix_spawn_file_actions_t actions; |