diff options
author | Linquize <linquize@yahoo.com.hk> | 2013-05-10 17:42:22 +0400 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2013-05-11 16:13:26 +0400 |
commit | e583334c00e80274866c87495e6ed2a40ec0a6f6 (patch) | |
tree | 8bc5e13e212bee8bd852d51ebf7121b24d6b073d /src/commit.c | |
parent | b6cc559a78a073f2aadd179fe40c09be7318c898 (diff) |
Fix broken build when MSVC SDL checks is enabled
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
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); |