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

Re: [libvirt] [PATCH 01/32] Convert 'int i' to 'size_t i' in daemon/ files



On 09.07.2013 20:50, Laine Stump wrote:
> On 07/08/2013 10:21 AM, Daniel P. Berrange wrote:
>> From: "Daniel P. Berrange" <berrange redhat com>
>>
>> Convert the type of loop iterators named 'i', 'j', k',
>> 'ii', 'jj', 'kk', to be 'size_t' instead of 'int' or
>> 'unsigned int', also santizing 'ii', 'jj', 'kk' to use
>> the normal 'i', 'j', 'k' naming
> 
> Sigh. I actually greatly prefer using ii because a variable named "i" or
> "j" is impossible to search for. I guess I'll just live with it though...
> 

If you use vim, you can easily search for 'i':

/\<i\>

or just move the cursor over the variable and press *.

Michal


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