[RFA 2/6] Use ATTRIBUTE_UNUSED in some places
Pedro Alves
palves@redhat.com
Wed Jun 29 09:50:00 GMT 2016
On 06/28/2016 09:58 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> I think we should use getcurx/getcury instead.
>
> I've split the patch into two.
>
> The inflow bits remain the same as what was posted. I can repost this
> if you want.
No need.
>
> This new patch replaces the uses of getyx with getcurx.
>
> Tom
>
> commit 2caa6df91fe83630faa615011a724748feee7a30
> Author: Tom Tromey <tom@tromey.com>
> Date: Tue Jun 28 14:25:49 2016 -0600
>
> Use getcurx in curses code
>
> As suggested by Pedro, this changes a few spots to use getcurx, rather
> than getyx. This avoids some unused variable warnings.
>
> 2016-06-28 Tom Tromey <tom@tromey.com>
>
> * tui/tui-winsource.c (tui_show_source_line): Use getcurx.
> * tui/tui-io.c (tui_puts): Use getcurx.
> (tui_redisplay_readline): Likewise.
>
OK.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list