Commit 812e5aea5963caee3a5894538921ac0530f548bd

Vicent Marti 2013-04-07T07:23:08

test: Add missing NULLs

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/refs/revparse.c b/tests-clar/refs/revparse.c
index 705014c..66ee391 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;