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:
@@ -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 ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user