]> OCCT Git - occt-copy.git/commitdiff
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>
Tue, 17 Jul 2018 15:25:08 +0000 (18:25 +0300)
Erroneous declaration of label was removed

src/XDEDRAW/XDEDRAW_Props.cxx

index b0e305d17e650dafe1af2dfb3a265d13e230e05d..821856c135bbcde789b77011ba69e27b868de2bc 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