btrfs-progs: initialize pipefd[] for error path
authorEric Sandeen <sandeen@redhat.com>
Wed, 30 Jan 2013 07:11:46 +0000 (01:11 -0600)
committerZach Brown <zab@redhat.com>
Wed, 6 Feb 2013 00:09:41 +0000 (16:09 -0800)
commit2986545ccd655273658e0e4463a669bb1893ba68
treea5b07783af073cee59b1cea8e36e56414117f8ca
parent899ba61fa695ae8e58599da25d174afa392fd552
btrfs-progs: initialize pipefd[] for error path

Several goto out; paths will end up doing i.e.

        if (pipefd[0])
                close(pipefd[0]);

but we get there with uninitialized values in many cases.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
cmds-send.c