X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=checkout-index.c;h=dd6a2d86fe59f1c75659cccef7a19c42bd2f721c;hb=e6bfaf3e33beba9431490a4f5c7a9753986554c4;hp=7b78715417039fe1d43699270cdc3d5adf6d2e9c;hpb=ee5c78434a997116e048055e363330d6d346c8f4;p=git.git diff --git a/checkout-index.c b/checkout-index.c index 7b787154..dd6a2d86 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];