aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-31 20:16:17 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-31 20:16:17 +0100
commit608572ce847aa95d4cff3ad7cfe2c22a83a9258d (patch)
tree4f71d6a1a03143b03d0ed03306b6fbb00c8da048 /tests/checkasm
parent497c9b0cce559d43607bbbd679fe42f1d7e9040e (diff)
downloadffmpeg-608572ce847aa95d4cff3ad7cfe2c22a83a9258d.tar.gz
tests/checkasm/checkasm: Do not define an unused function.
Fixes the following warning: tests/checkasm/checkasm.c:615:12: warning: 'bench_init_ffmpeg' defined but not used
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/checkasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index c3f5160132..9eec41e3c4 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -612,6 +612,7 @@ static int bench_init_linux(void)
}
#endif
+#if !CONFIG_LINUX_PERF
static int bench_init_ffmpeg(void)
{
#ifdef AV_READ_TIME
@@ -622,6 +623,7 @@ static int bench_init_ffmpeg(void)
return -1;
#endif
}
+#endif
static int bench_init(void)
{