diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-16 16:19:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-16 16:19:49 -0700 |
commit | 61432146ad707e969664c0151364e2d8da9fb157 (patch) | |
tree | eb9344c79b4a5069986d5e59ab926f10d7b42e65 | |
parent | e07fd15b1295393ddf954b9fdd0c3a961e5509c5 (diff) | |
download | git-61432146ad707e969664c0151364e2d8da9fb157.tar.gz git-61432146ad707e969664c0151364e2d8da9fb157.tar.xz |
sideband_demux(): fix decl-after-stmt
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin-send-pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-send-pack.c b/builtin-send-pack.c index 3e70795ef..dfd3d1105 100644 --- a/builtin-send-pack.c +++ b/builtin-send-pack.c @@ -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; } |