From b9c976304ac22e2946362bb7077a1cc98bb7085a Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 18 Dec 2003 20:34:17 +0000 Subject: [PATCH] Avoid unused variables. committer: mfx 1071779657 +0000 --- src/filter/ctoj.h | 5 ++--- src/filter/ctojr.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filter/ctoj.h b/src/filter/ctoj.h index 5e170653..882545cc 100644 --- a/src/filter/ctoj.h +++ b/src/filter/ctoj.h @@ -134,8 +134,7 @@ static int U(Filter *f) const unsigned size5 = f->buf_len - 5; const unsigned addvalue = f->addvalue; const unsigned cto = (unsigned)f->cto << 24; - unsigned lastcall = 0; - +// unsigned lastcall = 0; // lastcall is not used in COND macro unsigned ic, jc; for (ic = 0; ic < size5; ic++) @@ -147,7 +146,7 @@ static int U(Filter *f) set_le32(b+ic+1,jc-ic-1-addvalue-cto); f->calls++; ic += 4; - f->lastcall = lastcall = ic+1; + f->lastcall = ic+1; } else f->noncalls++; diff --git a/src/filter/ctojr.h b/src/filter/ctojr.h index 486395eb..01628afa 100644 --- a/src/filter/ctojr.h +++ b/src/filter/ctojr.h @@ -135,6 +135,7 @@ static int F(Filter *f) { buf[b[ic+1]] |= 1; } + UNUSED(which); if (getcto(f, buf) < 0) return -1;