Cleanup some clang reports.

SVN revision: 50713
This commit is contained in:
Christopher Michael 2010-07-31 06:12:39 +00:00
parent 4b24545c3c
commit ddf7f8d49f
2 changed files with 6 additions and 3 deletions

View File

@ -400,7 +400,9 @@ evas_common_scale_rgba_mipmap_down_1x2_mmx(DATA32 *src, DATA32 *dst, int src_w,
if (dst_w < 1) dst_w = 1;
if (dst_h < 1) dst_h = 1;
src_ptr = src;
/* NB: Dead assignment (gets reassigned later) */
// src_ptr = src;
src_ptr2 = src + src_w;
dst_ptr = dst;
for (y = 0; y < dst_h; y++)

View File

@ -137,8 +137,9 @@ SCALE_FUNC(RGBA_Image *src, RGBA_Image *dst,
}
if (dst_clip_h <= 0) return;
/* figure out dst jump */
dst_jump = dst_w - dst_clip_w;
/* figure out dst jump
* NB: Unused currently, so commented out */
// dst_jump = dst_w - dst_clip_w;
/* figure out dest start ptr */
dst_ptr = dst->image.data + dst_clip_x + (dst_clip_y * dst_w);