Re: [PATCH master+7.12 v2 1/3] Introduce cleanup to restore current_uiout

Tom Tromey
2016-09-14T18:11:07Z

>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

Simon> - old_chain = make_cleanup (restore_current_uiout_cleanup, current_uiout);
Simon> + old_chain = make_cleanup_restore_current_uiout ();

There's also already make_cleanup_restore_ui_out.
You could just use "make_cleanup_restore_ui_out (&current_uiout)" instead.

Tom