[PATCH] Refactor observer.sh to cleanup unused vars

Pedro Alves palves@redhat.com
Tue Apr 24 18:04:00 GMT 2012


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



More information about the Gdb-patches mailing list