0029959: Coding - new warnings after integration 29846
authorgka <gka@opencascade.com>
Mon, 16 Jul 2018 09:08:00 +0000 (12:08 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 20 Jul 2018 13:57:42 +0000 (16:57 +0300)
Erroneous label declaration has been removed in function SetMaterial from XDEDRAW_Props.cxx

src/XDEDRAW/XDEDRAW_Props.cxx

index b0e305d..821856c 100644 (file)
@@ -917,7 +917,6 @@ static Standard_Integer GetValidationProps(Draw_Interpretor& di, Standard_Intege
     TopoDS_Shape aShape = DBRep::Get(argv[2]);
     if( aShape.IsNull())
     {
-      TDF_Label aLabel;
       TDF_Tool::Label(Doc->GetData(), argv[2], aLabel);
     }
     else