This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix missing initialisation of variable in sbitmap_union_of_preds()


On Mon, 22 Nov 2004, Nick Clifton wrote:
>     for (e = NULL, ix = 0; ix < EDGE_COUNT (b->preds); ix++)
>       {
> +       e = EDGE_PRED (b, ix);
>         if (e->src== ENTRY_BLOCK_PTR)
>   	continue;

The assignment "e = NULL" in the first clause of the "for" is
now dead and can also be removed.

Thanks,

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]