Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Remove unnecessary forward declaration of unpack_entry.
[gitweb.git]
/
fetch-clone.c
diff --git
a/fetch-clone.c
b/fetch-clone.c
index 5e84c4620ff96f5c7ab93e5f3bfd10609edd5fd5..c5cf4776fabb8f9f09028dd1f0cfaf1d55e1397c 100644
(file)
--- 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));