]> OCCT Git - occt.git/commitdiff
Coding, DEGLTF_Provider - Hiding declaration (#669)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Thu, 14 Aug 2025 09:24:27 +0000 (10:24 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Aug 2025 09:24:27 +0000 (10:24 +0100)
DEGLTF_Provider.cxx(144,29): warning C4456: declaration of 'aContext' hides previous local declaration

src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx

index f430bec339344c9acecaf2f40e697517fc022ee3..c8b341645175fd944ec564371de42ade4a32a31a 100644 (file)
@@ -141,7 +141,6 @@ bool DEGLTF_Provider::Write(const TCollection_AsciiString&  thePath,
   aConverter.SetInputCoordinateSystem(aNode->InternalParameters.SystemCS);
   if (aNode->GlobalParameters.LengthUnit != 1000.)
   {
-    TCollection_AsciiString aContext = TCollection_AsciiString("writing the file ") + thePath;
     Message::SendWarning()
       << "Warning during " << aContext
       << ": Target format doesn't support custom units. Model will be scaled to Meters (unit: "