summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-07 07:23:08 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-07 07:23:08 +0200
commit812e5aea5963caee3a5894538921ac0530f548bd (patch)
tree5a349ab9bdd07231b9d41221c4ed06f02e126b70
parentd9ecaf8c6f2d2d538319174e42e5c98585c902e5 (diff)
downloadlibgit2-812e5aea5963caee3a5894538921ac0530f548bd.tar.gz
test: Add missing NULLs
-rw-r--r--tests-clar/refs/revparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/refs/revparse.c b/tests-clar/refs/revparse.c
index 705014c2a..66ee391a7 100644
--- a/tests-clar/refs/revparse.c
+++ b/tests-clar/refs/revparse.c
@@ -38,7 +38,7 @@ static void test_rangelike(const char *rangelike,
int expected_threedots)
{
char objstr[64] = {0};
- git_object *left, *right;
+ git_object *left = NULL, *right = NULL;
int threedots;
int error;