diff options
Diffstat (limited to 'update-cache.c')
-rw-r--r-- | update-cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/update-cache.c b/update-cache.c index 0bcd5d4081..413e09d48f 100644 --- a/update-cache.c +++ b/update-cache.c @@ -50,6 +50,7 @@ static int remove_file_from_cache(char *path) if (pos < active_nr) memmove(active_cache + pos, active_cache + pos + 1, (active_nr - pos - 1) * sizeof(struct cache_entry *)); } + return 0; } static int add_cache_entry(struct cache_entry *ce) @@ -250,4 +251,5 @@ int main(int argc, char **argv) return 0; out: unlink(".dircache/index.lock"); + return 0; } |