From e9b67fe42e5ed136c7f47972c323c0416ee480d2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 9 Nov 2007 04:57:28 +0000 Subject: [PATCH] =?UTF-8?q?Disable=20unused=20function,=20fixes=20the=20wa?= =?UTF-8?q?rning:=20tests/tiny=5Fpsnr.c:55:=20warning:=20=E2=80=98exp16?= =?UTF-8?q?=E2=80=99=20defined=20but=20not=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/tiny_psnr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 91225f2b3e..31a7a1b5e4 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -49,7 +49,8 @@ uint64_t exp16_table[21]={ 195360063, 582360139072LL, }; -#if 1 + +#if 0 // 16.16 fixpoint exp() static unsigned int exp16(unsigned int a){ int i; @@ -62,6 +63,8 @@ static unsigned int exp16(unsigned int a){ return out; } +#endif + // 16.16 fixpoint log() static int64_t log16(uint64_t a){ int i; @@ -80,7 +83,6 @@ static int64_t log16(uint64_t a){ return out; } -#endif static uint64_t int_sqrt(uint64_t a) { uint64_t ret=0;