From: Simon Marchi <simon.marchi@ericsson.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Remove unused variable
Date: Mon, 21 Apr 2014 16:54:00 -0000 [thread overview]
Message-ID: <53554D62.2010901@ericsson.com> (raw)
In-Reply-To: <20140421161232.GF4477@adacore.com>
On 14-04-21 12:12 PM, Joel Brobecker wrote:
> Simon,
>
>> should_resume is set to 1 at the beginning and never changed.
>>
>> The legal paperwork for people at Ericsson Montreal has been completed
>> last week, so I would be ready to open an account to be able to submit
>> patches.
>
> Great!
>
>>
>> gdb/ChangeLog:
>>
>> 2014-04-21 Simon Marchi <simon.marchi@ericsson.com>
>>
>> * infrun.c (resume): Remove should_resume (unused).
>
> Unfortunately, your patch does much much much much much much much
> more than just removing "should_resume" :-).
>
> Can you please submit a patch that just removes that variable?
I was afraid it would not be clear and I almost mentioned it in my
original message. There are a lot of +/- for a tiny change, because the
code looked like that:
int should_resume = 1;
/* Untouched stuff */
if (should_resume)
{
/* Lots of stuff that needs to be unindented. */
...
}
The part that was unindented by four spaces generates a lot of +/-, but
I didn't change anything else than that, I swear !
Simon
next prev parent reply other threads:[~2014-04-21 16:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 15:49 Simon Marchi
2014-04-21 16:12 ` Joel Brobecker
2014-04-21 16:54 ` Simon Marchi [this message]
2014-04-21 17:14 ` Joel Brobecker
2014-04-21 17:36 ` Simon Marchi
2014-04-21 17:47 ` Joel Brobecker
2014-05-13 20:55 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53554D62.2010901@ericsson.com \
--to=simon.marchi@ericsson.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox