From 608572ce847aa95d4cff3ad7cfe2c22a83a9258d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 31 Jan 2019 20:16:17 +0100 Subject: [PATCH] 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 --- tests/checkasm/checkasm.c | 2 ++ 1 file changed, 2 insertions(+) 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) {