From 6f002f984f1d1ddfdae990582a423dc5263697ae Mon Sep 17 00:00:00 2001 From: David Rientjes Date: Tue, 15 Aug 2006 10:40:06 -0700 Subject: use appropriate typedefs Signed-off-by: David Rientjes Signed-off-by: Junio C Hamano --- fetch-clone.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fetch-clone.c') diff --git a/fetch-clone.c b/fetch-clone.c index 5e84c4620f..c5cf4776fa 100644 --- a/fetch-clone.c +++ b/fetch-clone.c @@ -44,9 +44,8 @@ static int finish_pack(const char *pack_tmp_name, const char *me) for (;;) { int status, code; - int retval = waitpid(pid, &status, 0); - if (retval < 0) { + if (waitpid(pid, &status, 0) < 0) { if (errno == EINTR) continue; error("waitpid failed (%s)", strerror(errno)); -- cgit v1.2.1