This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Refactor observer.sh to cleanup unused vars


On 04/24/2012 06:53 PM, Sergio Durigan Junior wrote:

> Hi,
> 
> As requested by Pedro, this is the change to `observer.sh' made to
> cleanup the unused variable `args'.  


Thanks.

> I noticed that the variable is only

> used as an argument for calling `notify', and in some cases `notify'
> doesn't take arguments, thus leading to an unused `args' hanging
> around.  This patch removes it by conditionally declaring the variable.
> 
> OK to apply?


Okay.

> 2012-04-24  Sergio Durigan Junior  <sergiodj@redhat.com>
>
> 	* observer.sh: Conditionally declare `args', thus cleaning up
> 	unused cases.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]