This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix GCC6 -Wmisleading-indentation issues.
- From: Pedro Alves <palves at redhat dot com>
- To: Mark Wielaard <mjw at redhat dot com>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 25 Jan 2016 22:59:59 +0000
- Subject: Re: [PATCH] Fix GCC6 -Wmisleading-indentation issues.
- Authentication-results: sourceware.org; auth=none
- References: <1453750851-29990-1-git-send-email-mjw at redhat dot com> <56A697A2 dot 9060207 at ericsson dot com> <20160125221411 dot GA2721 at blokker dot redhat dot com> <56A6A0AD dot 1090901 at redhat dot com> <20160125223805 dot GB2721 at blokker dot redhat dot com>
On 01/25/2016 10:38 PM, Mark Wielaard wrote:
> On Mon, Jan 25, 2016 at 10:24:45PM +0000, Pedro Alves wrote:
>> Yeah... It was part being lazy and port not wanting to mess git blame for
>> such old code much. There's an easy way around it though. Add an
>> else, like:
>>
>> if (tinfo->run_terminal != NULL || gdb_has_a_terminal () == 0)
>> return;
>> + else
>> {
>
> O, very nice. I did it that way and adjusted commit message and ChangeLog.
>
> OK to commit?
OK.
Thanks,
Pedro Alves