From: gka Date: Mon, 16 Jul 2018 09:08:00 +0000 (+0300) Subject: 0029959: Coding - new warnings after integration 29846 X-Git-Tag: OCCT_VC2017_73~60 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=b5ea6319752f6be5cc17a70e6ed3498f1336e016;p=occt-copy.git 0029959: Coding - new warnings after integration 29846 Erroneous label declaration has been removed in function SetMaterial from XDEDRAW_Props.cxx --- diff --git a/src/XDEDRAW/XDEDRAW_Props.cxx b/src/XDEDRAW/XDEDRAW_Props.cxx index b0e305d17e..821856c135 100644 --- a/src/XDEDRAW/XDEDRAW_Props.cxx +++ b/src/XDEDRAW/XDEDRAW_Props.cxx @@ -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