* elf32-xtensa.c (ebb_propose_action): Put declarations before

statements.
This commit is contained in:
Bob Wilson
2004-10-21 16:29:11 +00:00
parent 8697aafb0c
commit 823fc61f00
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-21 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.

View File

@ -5598,9 +5598,10 @@ ebb_propose_action (ebb_constraint *c,
if (c->action_allocated <= c->action_count)
{
unsigned new_allocated, i;
proposed_action *new_actions;
new_allocated = (c->action_count + 2) * 2;
proposed_action *new_actions = (proposed_action *)
new_actions = (proposed_action *)
bfd_zmalloc (sizeof (proposed_action) * new_allocated);
for (i = 0; i < c->action_count; i++)