Commit 76873c09 by Vicent Martí

Silence return value warning

parent 22772166
......@@ -60,7 +60,7 @@ git_repository *cl_git_sandbox_init(const char *sandbox)
cl_fixture_sandbox(sandbox);
_cl_sandbox = sandbox;
p_chdir(sandbox);
cl_git_pass(p_chdir(sandbox));
/* If this is not a bare repo, then rename `sandbox/.gitted` to
* `sandbox/.git` which must be done since we cannot store a folder
......@@ -80,7 +80,7 @@ git_repository *cl_git_sandbox_init(const char *sandbox)
if (p_access("gitignore", F_OK) == 0)
cl_git_pass(p_rename("gitignore", ".gitignore"));
p_chdir("..");
cl_git_pass(p_chdir(".."));
/* Now open the sandbox repository and make it available for tests */
cl_git_pass(git_repository_open(&_cl_repo, sandbox));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment