[Gluster-devel] Regarding the coding guidelines script

Harshavardhana harsha at harshavardhana.net
Mon Sep 22 17:52:28 UTC 2014


On Mon, Sep 22, 2014 at 6:58 AM, Kaushal M <kshlmster at gmail.com> wrote:
> I keep getting this warning(or maybe not) for checkpatch.pl itself
> when I run rfc.sh.
>
> `Useless use of greediness modifier '+' in regex; marked by <-- HERE
> in m/(^\+.*) {8,8}+ <-- HERE \t/ at ./extras/checkpatch.pl line 2131.`
>
> Anyone else seeing this?
>

Nope never seen it,  what version of perl are you using?

There's a useless "+" use that needs to be removed as perl 5.20
emits a "Useless use of greediness modifier '+'" message each
time it's hit.

Let me remove it

-- Harsha


More information about the Gluster-devel mailing list