Commit 331578fb by Ramsay Jones Committed by Andreas Ericsson

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>
parent de141d4b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment