diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-03-06 01:37:56 +0100 | 
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-03-06 01:37:56 +0100 | 
| commit | 9d160ba85539bbc593369f597a07d42c2770dff4 (patch) | |
| tree | 18e43d3691f5b2138e9e98e9b1dd5144ab4b5627 /tests-clar/diff | |
| parent | 1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (diff) | |
| download | libgit2-9d160ba85539bbc593369f597a07d42c2770dff4.tar.gz | |
diff: Fix rebase breackage
Diffstat (limited to 'tests-clar/diff')
| -rw-r--r-- | tests-clar/diff/diff_helpers.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/diff/diff_helpers.c b/tests-clar/diff/diff_helpers.c index d8eca7d9b..055bd4bc3 100644 --- a/tests-clar/diff/diff_helpers.c +++ b/tests-clar/diff/diff_helpers.c @@ -7,8 +7,8 @@ git_tree *resolve_commit_oid_to_tree(  {  	size_t len = strlen(partial_oid);  	git_oid oid; -	git_object *obj; -	git_tree *tree; +	git_object *obj = NULL; +	git_tree *tree = NULL;  	if (git_oid_fromstrn(&oid, partial_oid, len) == 0)  		git_object_lookup_prefix(&obj, repo, &oid, len, GIT_OBJ_ANY);  | 
