From: Pasukhin Dmitry Date: Thu, 14 Aug 2025 09:24:27 +0000 (+0100) Subject: Coding, DEGLTF_Provider - Hiding declaration (#669) X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6765a6730aabe6bc4906d6baac9376f959121270;p=occt.git Coding, DEGLTF_Provider - Hiding declaration (#669) DEGLTF_Provider.cxx(144,29): warning C4456: declaration of 'aContext' hides previous local declaration --- diff --git a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx index f430bec339..c8b3416451 100644 --- a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx +++ b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx @@ -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: "