Commit 57bb4e89 authored by Laurențiu Nicola's avatar Laurențiu Nicola
Browse files

COMP: Work around some unused variable warnings

parent baa86840
......@@ -51,7 +51,7 @@ int otbRPCTransformTest(int itkNotUsed(argc), char* argv[])
std::string rpcFile(argv[1]);
std::string gcpFileName(argv[2]);
double geoTol(atof(argv[3]));
double imgTol(atof(argv[4]));
// double imgTol(atof(argv[4]));
// Tools
auto imgDistance = DistanceType::New();
......
......@@ -47,6 +47,8 @@ typedef otb::GeographicalDistance<ImageType::PointType> Geographi
int produceGCP(char* outputgcpfilename, const otb::ImageMetadata& imd, bool useForwardSensorModel = true, double z = 16.19688987731934)
{
(void)useForwardSensorModel;
itk::Point<double, 2> imagePoint;
itk::Point<double, 2> geoPoint;
......
......@@ -430,7 +430,7 @@ void VectorDataExtractROI<TVectorData>::ProjectRegionToInputVectorProjection()
genericTransform->SetInputProjectionRef(m_ROI.GetRegionProjection());
//TODO: genericTransform->SetInputImageMetadata(m_ROI.GetImageMetadata());
genericTransform->SetOutputProjectionRef(this->GetInput()->GetProjectionRef());
const itk::MetaDataDictionary& inputDict = this->GetInput()->GetMetaDataDictionary();
//TODO: const itk::MetaDataDictionary& inputDict = this->GetInput()->GetMetaDataDictionary();
//TODO: genericTransform->SetOutputImageMetadata(this->GetInput()->GetImageMetadata());
genericTransform->SetOutputOrigin(this->GetInput()->GetOrigin());
genericTransform->SetOutputSpacing(this->GetInput()->GetSpacing());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment