Make checkout_all void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
David Rientjes committed
Aug 14, 2006 at 13:20 UTC
f7f0fbfcf4fb9367a12aba3a205fb5e1276a2800
1 file changed
+1
-2
builtin-checkout-index.c
+1
-2
@@ -122,7 +122,7 @@ static int checkout_file(const char *name, int prefix_length)
122
return -1;
123
}
124
125
-static int checkout_all(const char *prefix, int prefix_length)
125
+static void checkout_all(const char *prefix, int prefix_length)
126
{
127
int i, errs = 0;
128
struct cache_entry* last_ce = NULL;
@@ -153,7 +153,6 @@ static int checkout_all(const char *prefix, int prefix_length)
153
* exit with the same code as die().
154
*/
155
exit(128);
156
- return 0;
156
}
157
158
static const char checkout_cache_usage[] =