[PATCH build 3/3] Remove superfluous braces around variables.

Adrian Bunk bunk at stusta.de
Wed Sep 15 08:49:15 PDT 2010


On Wed, Sep 15, 2010 at 08:58:27AM -0400, Trevor Woerner wrote:
> From: Trevor Woerner <twoerner at gmail.com>
> 
> Remove the '{' and '}' braces around variable dereferences
> which aren't necessary for shell parsing.
>...

Why?

When you use them you are on the safe side.

And I'd also say the code is more readable with them.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the xorg-devel mailing list