fix a couple of compiler warnings
This commit is contained in:
parent
f5c0f579cb
commit
ad57478ab4
|
@ -155,7 +155,7 @@ void DlgPropertyLink::on_checkObjectType_toggled(bool on)
|
|||
findObjects(on);
|
||||
}
|
||||
|
||||
void DlgPropertyLink::on_searchBox_textChanged(const QString& search)
|
||||
void DlgPropertyLink::on_searchBox_textChanged(const QString& /*search*/)
|
||||
{
|
||||
ui->listWidget->clear();
|
||||
bool on = ui->checkObjectType->isChecked();
|
||||
|
|
|
@ -86,8 +86,8 @@ Constraint::Constraint(const Constraint& from)
|
|||
LabelDistance(from.LabelDistance),
|
||||
LabelPosition(from.LabelPosition),
|
||||
isDriving(from.isDriving),
|
||||
tag(from.tag),
|
||||
InternalAlignmentIndex(from.InternalAlignmentIndex)
|
||||
InternalAlignmentIndex(from.InternalAlignmentIndex),
|
||||
tag(from.tag)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -658,9 +658,8 @@ DeriVector2 BSpline::CalculateNormal(Point& p, double* derivparam)
|
|||
return ret;
|
||||
}
|
||||
|
||||
DeriVector2 BSpline::Value(double u, double du, double* derivparam)
|
||||
DeriVector2 BSpline::Value(double /*u*/, double /*du*/, double* /*derivparam*/)
|
||||
{
|
||||
|
||||
// place holder
|
||||
DeriVector2 ret = DeriVector2();
|
||||
|
||||
|
|
|
@ -4324,8 +4324,8 @@ public:
|
|||
DrawSketchHandlerBSpline(int constructionMethod)
|
||||
: Mode(STATUS_SEEK_FIRST_CONTROLPOINT)
|
||||
, EditCurve(2)
|
||||
, ConstrMethod(constructionMethod)
|
||||
, CurrentConstraint(0)
|
||||
, ConstrMethod(constructionMethod)
|
||||
{
|
||||
std::vector<AutoConstraint> sugConstr1;
|
||||
sugConstr.push_back(sugConstr1);
|
||||
|
@ -4515,7 +4515,6 @@ protected:
|
|||
|
||||
int CurrentConstraint;
|
||||
int ConstrMethod;
|
||||
|
||||
};
|
||||
|
||||
DEF_STD_CMD_A(CmdSketcherCreateBSpline)
|
||||
|
|
Loading…
Reference in New Issue
Block a user