summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-21 19:27:45 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-21 19:27:45 +0200
commit99baacfb5687c266df78be4442d30f2f2dc19a28 (patch)
treed9f85cc3d650d03d56dbed55495a5f963b34bc0e /src/cache.c
parent72a3fe42fb7208712bbe8f0981f4c6274c05e9c3 (diff)
downloadlibgit2-99baacfb5687c266df78be4442d30f2f2dc19a28.tar.gz
Fix MSVC warnings
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
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;