Return success code on git_cache_init

This commit is contained in:
Vicent Marti 2011-05-15 23:45:24 +03:00
parent 3fe2e770ca
commit 4edf3e099a

View File

@ -60,6 +60,8 @@ int git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_pt
cache->nodes[i].ptr = NULL;
cache->nodes[i].lru = 0;
}
return GIT_SUCCESS;
}
void git_cache_free(git_cache *cache)