diff options
author | Dominik Vogt <vogt@linux.vnet.ibm.com> | 2015-05-12 11:27:52 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2015-05-12 11:27:52 +0000 |
commit | eed4068d5d3916f9560246873069bfaaf7b75afe (patch) | |
tree | 871cb0c7e522eb059040e562537db669e8049e1b /gcc/cp | |
parent | ff39d72a30cc8a85e01a69d37f6d4628e9ffbcc1 (diff) | |
download | gcc-eed4068d5d3916f9560246873069bfaaf7b75afe.zip gcc-eed4068d5d3916f9560246873069bfaaf7b75afe.tar.gz gcc-eed4068d5d3916f9560246873069bfaaf7b75afe.tar.bz2 |
Remove dead code in print_z_candidates.
2015-05-12 Dominik Vogt <vogt@linux.vnet.ibm.com>
* call.c (print_z_candidates): Remove dead code.
From-SVN: r223057
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/call.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c index b77f69a..07ccea9 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -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); } |