diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-03-21 19:27:45 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-21 19:27:45 +0200 |
commit | 99baacfb5687c266df78be4442d30f2f2dc19a28 (patch) | |
tree | d9f85cc3d650d03d56dbed55495a5f963b34bc0e /src/cache.c | |
parent | 72a3fe42fb7208712bbe8f0981f4c6274c05e9c3 (diff) | |
download | libgit2-99baacfb5687c266df78be4442d30f2f2dc19a28.tar.gz |
Fix MSVC warnings
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c index fdf5c1b80..fd42e2c5b 100644 --- a/src/cache.c +++ b/src/cache.c @@ -78,7 +78,7 @@ void *git_cache_get(git_cache *cache, const git_oid *oid) { const uint32_t *hash; size_t i, pos, found = 0; - cache_node *node; + cache_node *node = NULL; hash = (const uint32_t *)oid->id; |