Re: [RFA 09/22] Remove make_cleanup_restore_current_ui

Pedro Alves
2016-10-06T01:24:34Z

On 09/27/2016 05:08 AM, Tom Tromey wrote:
> +class switch_thru_all_uis
> {
> +public:
> +
> + switch_thru_all_uis () : iter (nullptr), save_ui (&current_ui)
> + {
> + iter = ui_list;

This initializes "iter" twice.

Thanks,
Pedro Alves