mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-03 19:59:33 +00:00
Fix 'possibly uninitialized variable' warning
This commit is contained in:
parent
f7fcb0dd1b
commit
e06dd9b6d6
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user