Skip to content

Commit 6143214

Browse files
committed
sideband_demux(): fix decl-after-stmt
Signed-off-by: Junio C Hamano <[email protected]>
1 parent e07fd15 commit 6143214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin-send-pack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,11 @@ static void print_helper_status(struct ref *ref)
374374

375375
static int sideband_demux(int in, int out, void *data)
376376
{
377-
int *fd = data;
377+
int *fd = data, ret;
378378
#ifndef WIN32
379379
close(fd[1]);
380380
#endif
381-
int ret = recv_sideband("send-pack", fd[0], out);
381+
ret = recv_sideband("send-pack", fd[0], out);
382382
close(out);
383383
return ret;
384384
}

0 commit comments

Comments
 (0)