Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2013-05-10 17:42:22 +0400
committerLinquize <linquize@yahoo.com.hk>2013-05-11 16:13:26 +0400
commite583334c00e80274866c87495e6ed2a40ec0a6f6 (patch)
tree8bc5e13e212bee8bd852d51ebf7121b24d6b073d /src/commit.c
parentb6cc559a78a073f2aadd179fe40c09be7318c898 (diff)
Fix broken build when MSVC SDL checks is enabled
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index 3dc647c9b..be6e32c76 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -292,7 +292,7 @@ int git_commit_nth_gen_ancestor(
const git_commit *commit,
unsigned int n)
{
- git_commit *current, *parent;
+ git_commit *current, *parent = NULL;
int error;
assert(ancestor && commit);