From 6943ad84a5a5b69c7cf5df1ea5bb6ab5fd254825 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Mon, 4 May 2015 12:46:21 +0100
Subject: [PATCH] Remove dead code.
---
gcc/cp/call.c | 4 ----
1 file changed, 4 deletions(-)
@@ -3436,7 +3436,6 @@ print_z_candidates (location_t loc, struct z_candidate *candidates)
{
struct z_candidate *cand1;
struct z_candidate **cand2;
- int n_candidates;
if (!candidates)
return;
@@ -3478,9 +3477,6 @@ print_z_candidates (location_t loc, struct z_candidate *candidates)
}
}
- for (n_candidates = 0, cand1 = candidates; cand1; cand1 = cand1->next)
- n_candidates++;
-
for (; candidates; candidates = candidates->next)
print_z_candidate (loc, "candidate:", candidates);
}
--
2.3.0