diff options
Diffstat (limited to 'checkout-index.c')
-rw-r--r-- | checkout-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkout-index.c b/checkout-index.c index 7b78715417..dd6a2d86fe 100644 --- a/checkout-index.c +++ b/checkout-index.c @@ -133,7 +133,7 @@ static int checkout_file(const char *name) static int checkout_all(void) { int i, errs = 0; - struct cache_entry* last_ce = 0; + struct cache_entry* last_ce = NULL; for (i = 0; i < active_nr ; i++) { struct cache_entry *ce = active_cache[i]; |