X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=checkout-index.c;h=dd6a2d86fe59f1c75659cccef7a19c42bd2f721c;hb=42b5c78845feb44f1d36eecad4c72336d5c2a9c5;hp=7b78715417039fe1d43699270cdc3d5adf6d2e9c;hpb=9086a18cb81f99fff943b36830396ac8c37c7e9f;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];