diff options
author | Linquize <linquize@yahoo.com.hk> | 2013-05-10 21:42:22 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2013-05-11 20:13:26 +0800 |
commit | e583334c00e80274866c87495e6ed2a40ec0a6f6 (patch) | |
tree | 8bc5e13e212bee8bd852d51ebf7121b24d6b073d /src/object.c | |
parent | b6cc559a78a073f2aadd179fe40c09be7318c898 (diff) | |
download | libgit2-e583334c00e80274866c87495e6ed2a40ec0a6f6.tar.gz |
Fix broken build when MSVC SDL checks is enabled
Diffstat (limited to 'src/object.c')
-rw-r--r-- | src/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c index a6807f26b..9b8ccdd3e 100644 --- a/src/object.c +++ b/src/object.c @@ -117,7 +117,7 @@ int git_object_lookup_prefix( { git_object *object = NULL; git_odb *odb = NULL; - git_odb_object *odb_obj; + git_odb_object *odb_obj = NULL; int error = 0; assert(repo && object_out && id); |