Skip to content

Commit fbde9c1

Browse files
committed
WCS: remove redundant code
1 parent e140437 commit fbde9c1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

frmts/wcs/wcsdataset110.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ std::vector<double> WCSDataset110::GetNativeExtent(int nXOff, int nYOff,
6868
// sampling density.
6969
if (nBufXSize != nXSize || nBufYSize != nYSize)
7070
{
71-
dfXStep = (nXSize / (double)nBufXSize) * m_gt[1];
72-
dfYStep = (nYSize / (double)nBufYSize) * m_gt[5];
73-
7471
extent[0] = nXOff * m_gt[1] + m_gt[0] + dfXStep * 0.5;
7572
extent[2] = extent[0] + (nBufXSize - 1) * dfXStep;
7673

0 commit comments

Comments
 (0)