[FFmpeg-cvslog] tests/checkasm/checkasm: Do not define an unused function.
Carl Eugen Hoyos
git at videolan.org
Thu Jan 31 21:17:31 EET 2019
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Thu Jan 31 20:16:17 2019 +0100| [608572ce847aa95d4cff3ad7cfe2c22a83a9258d] | committer: Carl Eugen Hoyos
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
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=608572ce847aa95d4cff3ad7cfe2c22a83a9258d
---
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)
{
More information about the ffmpeg-cvslog
mailing list