mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Remove dead code detected by Coverity (#116)
fixes coverity reports CID 1518478, 1518465
This commit is contained in:
@ -298,8 +298,6 @@ void CImage::copyToScalingBoxFilter(IImage* target, s32 bias, bool blend)
|
||||
const f32 sourceXStep = (f32) Size.Width / (f32) destSize.Width;
|
||||
const f32 sourceYStep = (f32) Size.Height / (f32) destSize.Height;
|
||||
|
||||
target->getData();
|
||||
|
||||
s32 fx = core::ceil32( sourceXStep );
|
||||
s32 fy = core::ceil32( sourceYStep );
|
||||
f32 sx;
|
||||
|
Reference in New Issue
Block a user