mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration
Eliminated warnings about "declaration of some local variable hides previous local declaration"
This commit is contained in:
@@ -751,8 +751,8 @@ void XmlMDataStd_NamedDataDriver::Paste(const Handle(TDF_Attribute)& theSource,
|
||||
for(;;) {
|
||||
char aValueChar[32];
|
||||
Sprintf(aValueChar, "%.15g", anArr1.Value(j));
|
||||
TCollection_AsciiString aValueStr(aValueChar);
|
||||
aValueStr2 += aValueStr;
|
||||
TCollection_AsciiString aValueStr3(aValueChar);
|
||||
aValueStr2 += aValueStr3;
|
||||
if (j >= anArr1.Upper()) break;
|
||||
aValueStr2 += ' ';
|
||||
j++;
|
||||
|
Reference in New Issue
Block a user