0024510: Remove unused local variables
[occt.git] / src / RWStepRepr / RWStepRepr_RWDerivedShapeAspect.cxx
index 8c54873..b9042bf 100644 (file)
@@ -45,13 +45,9 @@ void RWStepRepr_RWDerivedShapeAspect::ReadStep (const Handle(StepData_StepReader
   data->ReadString (num, 1, "shape_aspect.name", ach, aShapeAspect_Name);
 
   Handle(TCollection_HAsciiString) aShapeAspect_Description;
-  Standard_Boolean hasShapeAspect_Description = Standard_True;
   if ( data->IsParamDefined (num,2) ) {
     data->ReadString (num, 2, "shape_aspect.description", ach, aShapeAspect_Description);
   }
-  else {
-    hasShapeAspect_Description = Standard_False;
-  }
 
   Handle(StepRepr_ProductDefinitionShape) aShapeAspect_OfShape;
   data->ReadEntity (num, 3, "shape_aspect.of_shape", ach, STANDARD_TYPE(StepRepr_ProductDefinitionShape), aShapeAspect_OfShape);