aboutsummaryrefslogtreecommitdiff
path: root/test-subprocess.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2011-03-22 13:50:08 +0100
committerJunio C Hamano <gitster@pobox.com>2011-03-22 11:43:27 -0700
commitc0aa335c95974caebcc972cd63a11e6ff73b1612 (patch)
tree95b46205d5a696acda8b2e4624bb65635964fd8e /test-subprocess.c
parentc2e86addb86689306b992065328ec52aa2479658 (diff)
downloadgit-c0aa335c95974caebcc972cd63a11e6ff73b1612.tar.gz
git-c0aa335c95974caebcc972cd63a11e6ff73b1612.tar.xz
Remove unused variables
Noticed by gcc 4.6.0. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 667d3e507..8926bc52a 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")) {