mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 10:52:22 +00:00
msvc: Fix a "declaration after statement" compilation error
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
This commit is contained in:
parent
de141d4bb9
commit
331578fb1d
@ -43,10 +43,12 @@ const git_oid *git_commit_id(git_commit *c)
|
||||
|
||||
void git_commit__mark_uninteresting(git_commit *commit)
|
||||
{
|
||||
git_commit_node *parents;
|
||||
|
||||
if (commit == NULL)
|
||||
return;
|
||||
|
||||
git_commit_node *parents = commit->parents.head;
|
||||
parents = commit->parents.head;
|
||||
|
||||
commit->uninteresting = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user