1 $NetBSD: patch-elf.cpp,v 1.1 2012/11/16 00:32:07 joerg Exp $
3 --- elf.cpp.orig 2012-11-15 12:41:01.000000000 +0000
5 @@ -1175,10 +1175,10 @@ void Plink::elfBaseline()
6 << setw(8) << gcnt << " "
7 << setw(8) << (double)cnt / (double)gcnt << "\n";
9 - map<int,int>::iterator i = chr_cnt.begin();
10 - while ( i != chr_cnt.end() )
11 + map<int,int>::iterator i2 = chr_cnt.begin();
12 + while ( i2 != chr_cnt.end() )
16 int x = chr_cnt.find( c )->second;
17 int y = chr_gcnt.find( c )->second;
19 @@ -1189,7 +1189,7 @@ void Plink::elfBaseline()
20 << setw(8) << y << " "
21 << setw(8) << (double)x / (double)y << "\n";