From 99baacfb5687c266df78be4442d30f2f2dc19a28 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Mon, 21 Mar 2011 19:27:45 +0200 Subject: Fix MSVC warnings --- src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cache.c') 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; -- cgit v1.2.1