1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0024399: ICC warnings 3280 "declaration hides..."

Renamed local variables to avoid ICC compiler warnings about repeated names
This commit is contained in:
ski
2013-11-26 18:17:10 +04:00
committed by bugmaster
parent 9f37b47ddd
commit 75259fc556
24 changed files with 237 additions and 238 deletions

View File

@@ -482,10 +482,10 @@ Standard_Integer PCollection_HAsciiString::Location
{
if (ToIndex > Length() || FromIndex <= 0 || FromIndex > ToIndex )
Standard_OutOfRange::Raise();
for(Standard_Integer i = FromIndex-1, count = 0; i <= ToIndex-1; i++)
for(Standard_Integer i = FromIndex-1, aCount = 0; i <= ToIndex-1; i++)
if(Data(i) == C) {
count++;
if ( count == N ) return (i+1);
aCount++;
if ( aCount == N ) return (i+1);
}
return 0 ;
}