summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-05-15 23:45:24 +0300
committerVicent Marti <tanoku@gmail.com>2011-05-15 23:45:24 +0300
commit4edf3e099aafbdaea2e4e128fc3230b36af38f41 (patch)
tree397741b52518ec71e52a4b4ecdaacf8756fcb025 /src/cache.c
parent3fe2e770ca93523eaf0c1b065f1d0b0038f8f867 (diff)
downloadlibgit2-4edf3e099aafbdaea2e4e128fc3230b36af38f41.tar.gz
Return success code on `git_cache_init`
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c
index b0a093100..0509afd46 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -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)