summaryrefslogtreecommitdiff
path: root/src/odb_pack.c
diff options
context:
space:
mode:
authorJohan 't Hart <johanthart@gmail.com>2011-06-06 00:33:23 +0200
committerJohan 't Hart <johanthart@gmail.com>2011-06-06 00:33:23 +0200
commit393a9f9ee12fa635656f43155df1f664dfbb7215 (patch)
tree68846ad6d75ea93347a2647587f6060fedcbe180 /src/odb_pack.c
parent602ee38b6e874f61f162ca7239c3a6d8c6099335 (diff)
downloadlibgit2-393a9f9ee12fa635656f43155df1f664dfbb7215.tar.gz
Fix build errors on MSVC
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 525cfa429..02a1a61aa 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -960,7 +960,7 @@ static int pack_entry_find_offset(
const unsigned char *index = p->index_map.data;
unsigned hi, lo, stride;
int pos, found = 0;
- const unsigned char *current;
+ const unsigned char *current = 0;
*offset_out = 0;