diff --git a/checkout-index.c b/checkout-index.c
index 7b78715417039fe1d43699270cdc3d5adf6d2e9c..dd6a2d86fe59f1c75659cccef7a19c42bd2f721c 100644 (file)
--- a/checkout-index.c
+++ b/checkout-index.c
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];