[Gluster-devel] Regarding the coding guidelines script

Kaushal M kshlmster at gmail.com
Mon Sep 22 17:57:36 UTC 2014


I'm using Perl 5.20.1. I was wondering how no one caught a mistake in
the checker.

~kaushal

On Mon, Sep 22, 2014 at 11:22 PM, Harshavardhana
<harsha at harshavardhana.net> wrote:
> 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