fix errors

This commit is contained in:
alemuntoni 2020-03-05 14:54:01 +01:00
parent 522195d949
commit 1a61944ca0
2 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,9 @@ QList<QAction *> EditAlignFactory::actions() const
}
//get the edit tool for the given action
MeshEditInterface* EditAlignFactory::getMeshEditInterface(QAction *)
MeshEditInterface* EditAlignFactory::getMeshEditInterface(QAction *action)
{
assert(action == editAlign);
assert(action == editAlign); (void) action;
return new EditAlignPlugin();
}

View File

@ -58,8 +58,8 @@ void ComputeScalingMatchMatrix(Matrix44d &res,
}
double errorRotoTranslationScale(int, double *x){
assert(n==7);
double errorRotoTranslationScale(int n, double *x){
assert(n==7); (void)n;
double dist = 0;
std::vector<Point3d>::iterator i = mov->begin();
std::vector<Point3d>::iterator ifix = fix->begin();