has uninitialized loop index vars (patch attached)

Hello list:

The recently added file has two loops with index
variables that are never initialized. (Surprisingly, g++ -Wall does not
catch this form.) They look like

for (unsigned int i; i < in_vlens.size(); i++) {

g++ 4.6.3 (Ubuntu) managed to generate an init of 0 anyway; g++ 4.2.1
(Mac) did not.

I’ve attached a small patch.

On Sat, May 26, 2012 at 4:23 PM, Porges, Donald
[email protected] wrote:

I’ve attached a small patch.


Thanks for the patch. I’ll be pushing it soon.