calib3d: eliminate 'register' build warning

This commit is contained in:
Alexander Alekhin 2020-11-20 20:32:59 +00:00
parent 2255973b0f
commit bc434e8f67

View File

@ -631,7 +631,7 @@ void PoseSolver::computeRowAndNullspace(const cv::Matx<double, 9, 1>& r,
void PoseSolver::nearestRotationMatrix(const cv::Matx<double, 9, 1>& e, void PoseSolver::nearestRotationMatrix(const cv::Matx<double, 9, 1>& e,
cv::Matx<double, 9, 1>& r) cv::Matx<double, 9, 1>& r)
{ {
register int i; int i;
double l, lprev, det_e, e_sq, adj_e_sq, adj_e[9]; double l, lprev, det_e, e_sq, adj_e_sq, adj_e[9];
// e's adjoint // e's adjoint