fix(style): complie warning
This commit is contained in:
parent
4552743c4b
commit
3549e8b958
|
@ -22,6 +22,7 @@
|
|||
#include <opencv2/core/eigen.hpp>
|
||||
#include <opencv2/imgproc/imgproc.hpp>
|
||||
#include "camodocal/gpl/gpl.h"
|
||||
#include "mynteye/logger.h"
|
||||
|
||||
namespace camodocal {
|
||||
#define PI M_PI
|
||||
|
@ -506,7 +507,8 @@ void EquidistantCamera::setParameters(
|
|||
|
||||
void EquidistantCamera::readParameters(
|
||||
const std::vector<double> ¶meterVec) {
|
||||
if (parameterVec.size() != parameterCount()) {
|
||||
if (parameterVec.size() != static_cast<unsigned int>(parameterCount())) {
|
||||
MYNTEYE_UNUSED(parameterVec);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
#include "camodocal/gpl/gpl.h"
|
||||
#include "mynteye/logger.h"
|
||||
|
||||
#include <set>
|
||||
#ifdef _WIN32
|
||||
|
@ -685,10 +686,12 @@ void UTMtoLL(
|
|||
double N1, T1, C1, R1, D, M;
|
||||
double LongOrigin;
|
||||
double mu, phi1, phi1Rad;
|
||||
MYNTEYE_UNUSED(phi1);
|
||||
double x, y;
|
||||
int ZoneNumber;
|
||||
char ZoneLetter;
|
||||
bool NorthernHemisphere;
|
||||
MYNTEYE_UNUSED(NorthernHemisphere);
|
||||
|
||||
x = utmEasting - 500000.0; // remove 500,000 meter offset for longitude
|
||||
y = utmNorthing;
|
||||
|
|
Loading…
Reference in New Issue
Block a user