summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_scale_sample.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-01-19 16:49:47 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-01-19 16:49:47 +0000
commit9a47bffc98c31930caed79c74f7bc91ab051c025 (patch)
tree5c7b321f67240b66adbc477238c3a35ee4622765 /legacy/evas/src/lib/engines/common/evas_scale_sample.c
parent883923028ecb1e9fd64490a6531f588eaf8ee94e (diff)
fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P SVN revision: 67353
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_scale_sample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_scale_sample.c b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
index a8951b8353..c721c5e740 100644
--- a/legacy/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
@@ -90,7 +90,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
90 DATA32 *buf, *dptr; 90 DATA32 *buf, *dptr;
91 DATA32 **row_ptr; 91 DATA32 **row_ptr;
92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data; 92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data;
93 int dst_jump;
94 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h; 93 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h;
95 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0; 94 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0;
96 int src_w, src_h, dst_w, dst_h; 95 int src_w, src_h, dst_w, dst_h;
@@ -248,7 +247,7 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
248 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *)); 247 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *));
249 248
250 /* figure out dst jump */ 249 /* figure out dst jump */
251 dst_jump = dst_w - dst_clip_w; 250 //dst_jump = dst_w - dst_clip_w;
252 251
253 /* figure out dest start ptr */ 252 /* figure out dest start ptr */
254 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w); 253 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w);