Commit 0478b7f4725405bf43dee341d235ef5b5fc44046

Jacques Germishuys 2014-09-25T15:35:00

Silence unused return value warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/pack/packbuilder.c b/tests/pack/packbuilder.c
index 12273ec..29f3e2d 100644
--- a/tests/pack/packbuilder.c
+++ b/tests/pack/packbuilder.c
@@ -47,7 +47,7 @@ void test_pack_packbuilder__cleanup(void)
 	git_indexer_free(_indexer);
 	_indexer = NULL;
 
-	p_chdir("..");
+	cl_git_pass(p_chdir(".."));
 	cl_git_sandbox_cleanup();
 	_repo = NULL;
 }