提交 61432146 编写于 作者: J Junio C Hamano

sideband_demux(): fix decl-after-stmt

Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 e07fd15b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册