PVS: V519 The 'keepExplicitPlacement' variable is assigned values twice successively.

This commit is contained in:
wmayer
2019-03-03 15:24:17 +01:00
parent 61eeca41e1
commit 13a68c3675
2 changed files with 4 additions and 4 deletions

View File

@@ -485,8 +485,8 @@ private:
Handle(TDocStd_Document) hDoc;
hApp->NewDocument(TCollection_ExtendedString("MDTV-CAF"), hDoc);
bool keepExplicitPlacement = list.size() > 1;
keepExplicitPlacement = Standard_True;
//bool keepExplicitPlacement = list.size() > 1;
bool keepExplicitPlacement = Standard_True;
ExportOCAFGui ocaf(hDoc, keepExplicitPlacement);
// That stuff is exporting a list of selected objects into FreeCAD Tree