[PATCH] Fix GCC6 -Wmisleading-indentation issues.

Pedro Alves palves@redhat.com
Mon Jan 25 23:00:00 GMT 2016


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



More information about the Gdb-patches mailing list