From bc434e8f67d488dfc334efde894c31dbba003d76 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 20 Nov 2020 20:32:59 +0000 Subject: [PATCH] calib3d: eliminate 'register' build warning --- modules/calib3d/src/sqpnp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/src/sqpnp.cpp b/modules/calib3d/src/sqpnp.cpp index 10ea96c423..7117e61c96 100644 --- a/modules/calib3d/src/sqpnp.cpp +++ b/modules/calib3d/src/sqpnp.cpp @@ -631,7 +631,7 @@ void PoseSolver::computeRowAndNullspace(const cv::Matx& r, void PoseSolver::nearestRotationMatrix(const cv::Matx& e, cv::Matx& r) { - register int i; + int i; double l, lprev, det_e, e_sq, adj_e_sq, adj_e[9]; // e's adjoint