Re: [PATCH/RFC/BUG] unpack-trees.c: do not use "the_index"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 1, 2018 at 8:51 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote:
> On Fri, Jun 1, 2018 at 11:34 AM, Elijah Newren <newren@xxxxxxxxx> wrote:
>
>>> +/* Do not use the_index here, you probably want o->src_index */
>>> +#define the_index the_index_should_not_be_used here
>>
>> Good call.
>
> Is the space instead of the underscore between the last two words intentional?

Unintentional. I wanted gcc to show this phrase when a developer
accidentally uses the_index here (it's basically
"the_index_should_not_be_used_here is not declared blah blah"). Two
words would cause a different syntax error.
-- 
Duy



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux