Commit eed4068d by Dominik Vogt Committed by Andreas Krebbel

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
parent ff39d72a
2015-05-12 Dominik Vogt <vogt@linux.vnet.ibm.com>
* call.c (print_z_candidates): Remove dead code.
2015-05-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 2015-05-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/2827.md: Split zEC12_simple into zEC12_simple_int * config/s390/2827.md: Split zEC12_simple into zEC12_simple_int
......
...@@ -3436,7 +3436,6 @@ print_z_candidates (location_t loc, struct z_candidate *candidates) ...@@ -3436,7 +3436,6 @@ print_z_candidates (location_t loc, struct z_candidate *candidates)
{ {
struct z_candidate *cand1; struct z_candidate *cand1;
struct z_candidate **cand2; struct z_candidate **cand2;
int n_candidates;
if (!candidates) if (!candidates)
return; return;
...@@ -3478,9 +3477,6 @@ print_z_candidates (location_t loc, struct z_candidate *candidates) ...@@ -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) for (; candidates; candidates = candidates->next)
print_z_candidate (loc, "candidate:", candidates); print_z_candidate (loc, "candidate:", candidates);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment