From 4c51ef2f3018b837c73a8aac0601d34081bffabc Mon Sep 17 00:00:00 2001 From: TinyOh Date: Tue, 29 Jan 2019 11:39:22 +0800 Subject: [PATCH] fix(complie): depend error --- .../api/camodocal/src/camera_models/EquidistantCamera.cc | 3 +-- src/mynteye/api/camodocal/src/gpl/gpl.cc | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mynteye/api/camodocal/src/camera_models/EquidistantCamera.cc b/src/mynteye/api/camodocal/src/camera_models/EquidistantCamera.cc index 2217b84..5e9ce3b 100644 --- a/src/mynteye/api/camodocal/src/camera_models/EquidistantCamera.cc +++ b/src/mynteye/api/camodocal/src/camera_models/EquidistantCamera.cc @@ -22,7 +22,7 @@ #include #include #include "camodocal/gpl/gpl.h" -#include "mynteye/logger.h" +// #include "mynteye/logger.h" namespace camodocal { #define PI M_PI @@ -508,7 +508,6 @@ void EquidistantCamera::setParameters( void EquidistantCamera::readParameters( const std::vector ¶meterVec) { if (parameterVec.size() != static_cast(parameterCount())) { - MYNTEYE_UNUSED(parameterVec); return; } diff --git a/src/mynteye/api/camodocal/src/gpl/gpl.cc b/src/mynteye/api/camodocal/src/gpl/gpl.cc index eee9265..a318c69 100644 --- a/src/mynteye/api/camodocal/src/gpl/gpl.cc +++ b/src/mynteye/api/camodocal/src/gpl/gpl.cc @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. #include "camodocal/gpl/gpl.h" -#include "mynteye/logger.h" #include #ifdef _WIN32 @@ -686,12 +685,10 @@ 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;