summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-03-28 21:44:36 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-03-28 21:44:36 +0000
commit8c3fc23ae6d26b657724f5998dd4f467a39b0cc9 (patch)
treef302a0094d9cae550a0882d00d0f7579e400e61d
parentcde3c9a08ebce0de71a7b0b0f9a0148cae1ea16f (diff)
downloadrockbox-8c3fc23ae6d26b657724f5998dd4f467a39b0cc9.tar.gz
rockbox-8c3fc23ae6d26b657724f5998dd4f467a39b0cc9.zip
remove set but unused variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29659 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/resize.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c
index 0f227f8b09..b570116179 100644
--- a/apps/recorder/resize.c
+++ b/apps/recorder/resize.c
@@ -580,7 +580,7 @@ static bool scale_h_linear(void *out_line_ptr, struct scaler_context *ctx,
580static inline bool scale_v_linear(struct rowset *rset, 580static inline bool scale_v_linear(struct rowset *rset,
581 struct scaler_context *ctx) 581 struct scaler_context *ctx)
582{ 582{
583 uint32_t mul, iy, iye; 583 uint32_t iy, iye;
584 int32_t oy; 584 int32_t oy;
585#if defined(CPU_SH) || defined (TEST_SH_MATH) 585#if defined(CPU_SH) || defined (TEST_SH_MATH)
586 const uint32_t v_i_val = ctx->src->height - 1, 586 const uint32_t v_i_val = ctx->src->height - 1,
@@ -604,7 +604,6 @@ static inline bool scale_v_linear(struct rowset *rset,
604 *rowinc_px, *rowval_px, *rowtmp_px; 604 *rowinc_px, *rowval_px, *rowtmp_px;
605 605
606 SDEBUGF("scale_v_linear\n"); 606 SDEBUGF("scale_v_linear\n");
607 mul = 0;
608 iy = 0; 607 iy = 0;
609 iye = v_o_val; 608 iye = v_o_val;
610 /* get first scaled row in rowtmp */ 609 /* get first scaled row in rowtmp */