aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-11-09 04:57:28 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-09 04:57:28 +0000
commite9b67fe42e5ed136c7f47972c323c0416ee480d2 (patch)
tree75721dccc11e3c3f3a5319511143bd3f14fb9229 /tests
parent2c18784703760803558706d3df8d5ff4789194f4 (diff)
downloadffmpeg-e9b67fe42e5ed136c7f47972c323c0416ee480d2.tar.gz
Disable unused function, fixes the warning:
tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/tiny_psnr.c6
1 files 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;