Fix 'possibly uninitialized variable' warning
diff --git a/src/refs.c b/src/refs.c
index 542401c..10df8e0 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -405,7 +405,7 @@ static int packed_parse_oid(
const char **buffer_out,
const char *buffer_end)
{
- reference_oid *ref;
+ reference_oid *ref = NULL;
const char *buffer = *buffer_out;
const char *refname_begin, *refname_end;