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

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

 



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@xxxxxxxxxx>
>>
>> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]