mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +00:00
Avoid def variables that aren't used NDEBUG
This commit is contained in:
parent
bf6a61e484
commit
70f1df4d6b
@ -365,9 +365,11 @@ void composite_image_scale_down(
|
||||
const LockImageBits<SrcTraits> srcBits(src, srcBounds);
|
||||
LockImageBits<DstTraits> dstBits(dst, dstBounds);
|
||||
auto src_it = srcBits.begin();
|
||||
auto src_end = srcBits.end();
|
||||
auto dst_it = dstBits.begin();
|
||||
#ifdef _DEBUG
|
||||
auto src_end = srcBits.end();
|
||||
auto dst_end = dstBits.end();
|
||||
#endif
|
||||
|
||||
// Adjust to src_it for each line
|
||||
int adjust_per_line = (dstBounds.w*step_w)*(step_h-1);
|
||||
|
Loading…
Reference in New Issue
Block a user