]> git.proxmox.com Git - libgit2.git/commitdiff
test: Add missing NULLs
authorVicent Marti <tanoku@gmail.com>
Sun, 7 Apr 2013 05:23:08 +0000 (07:23 +0200)
committerVicent Marti <tanoku@gmail.com>
Sun, 7 Apr 2013 05:23:08 +0000 (07:23 +0200)
tests-clar/refs/revparse.c

index 705014c2a9e81b6904bc8e59cd2aa2659605c317..66ee391a760d8067f486e6f7788ae085795354ea 100644 (file)
@@ -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;