PVS: V519 Variable is assigned values twice successively

This commit is contained in:
wmayer
2019-03-13 12:55:31 +01:00
parent e392fc2f07
commit d232164ba0
2 changed files with 2 additions and 3 deletions

View File

@@ -863,8 +863,7 @@ bool TaskDlgFemConstraintFluidBoundary::accept()
//Reverse control is done at BoundaryType selection, this UI is hidden from user
//Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Reversed = %s", name.c_str(), boundary->getReverse() ? "True" : "False");
std::string scale = "1";
scale = boundary->getScale(); //OvG: determine modified scale
std::string scale = boundary->getScale(); //OvG: determine modified scale
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Scale = %s", name.c_str(), scale.c_str()); //OvG: implement modified scale
// solver specific setting, physical model selection

View File

@@ -228,7 +228,7 @@ CmdViewTriangulation::CmdViewTriangulation()
sGroup = QT_TR_NOOP("Reverse Engineering");
sMenuText = QT_TR_NOOP("Structured point clouds");
sToolTipText = QT_TR_NOOP("Triangulation of structured point clouds");
sToolTipText = QT_TR_NOOP("Triangulation of structured point clouds");
sStatusTip = QT_TR_NOOP("Triangulation of structured point clouds");
sWhatsThis = "Reen_ViewTriangulation";
}