Skip to content

Commit 0a8df07

Browse files
committed
Fix build warning
1 parent 705d4f5 commit 0a8df07

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/raster/qgshillshaderenderer.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ QgsRasterBlock *QgsHillshadeRenderer::block( int bandNo, const QgsRectangle &ext
208208
{
209209
aspectRad = 2 * M_PI - M_PI_2;
210210
}
211-
else
212-
{
213-
aspectRad = aspectRad;
214-
}
215211
}
216212

217213
double colorvalue = qBound( 0.0, 255.0 * (( cosZenithRad * cos( slope_rad ) ) +

0 commit comments

Comments
 (0)