summaryrefslogtreecommitdiff
path: root/test-subprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-subprocess.c')
-rw-r--r--test-subprocess.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-subprocess.c b/test-subprocess.c
index 667d3e5079..8926bc52a9 100644
--- a/test-subprocess.c
+++ b/test-subprocess.c
@@ -3,11 +3,10 @@
int main(int argc, char **argv)
{
- const char *prefix;
struct child_process cp;
int nogit = 0;
- prefix = setup_git_directory_gently(&nogit);
+ setup_git_directory_gently(&nogit);
if (nogit)
die("No git repo found");
if (!strcmp(argv[1], "--setup-work-tree")) {