Remove dead code detected by Coverity (#116)

fixes coverity reports CID 1518478, 1518465
This commit is contained in:
JosiahWI
2022-07-03 12:34:12 -05:00
committed by GitHub
parent 53e1b52ff4
commit 6064e12133
2 changed files with 1 additions and 18 deletions

View File

@ -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;