aboutsummaryrefslogtreecommitdiff
path: root/reachable.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 /reachable.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 'reachable.c')
-rw-r--r--reachable.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/reachable.c b/reachable.c
index a03fabf06..3fc6b1d32 100644
--- a/reachable.c
+++ b/reachable.c
@@ -70,16 +70,11 @@ static void process_tree(struct tree *tree,
static void process_tag(struct tag *tag, struct object_array *p, const char *name)
{
struct object *obj = &tag->object;
- struct name_path me;
if (obj->flags & SEEN)
return;
obj->flags |= SEEN;
- me.up = NULL;
- me.elem = "tag:/";
- me.elem_len = 5;
-
if (parse_tag(tag) < 0)
die("bad tag object %s", sha1_to_hex(obj->sha1));
if (tag->tagged)