1
0
mirror of https://github.com/git/git.git synced 2024-10-21 02:18:14 +02:00

sideband_demux(): fix decl-after-stmt

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2011-05-16 16:19:49 -07:00
parent e07fd15b12
commit 61432146ad

@ -374,11 +374,11 @@ static void print_helper_status(struct ref *ref)
static int sideband_demux(int in, int out, void *data)
{
int *fd = data;
int *fd = data, ret;
#ifndef WIN32
close(fd[1]);
#endif
int ret = recv_sideband("send-pack", fd[0], out);
ret = recv_sideband("send-pack", fd[0], out);
close(out);
return ret;
}