Browse Source

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
tags/n4.2
Carl Eugen Hoyos 6 years ago
parent
commit
608572ce84
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tests/checkasm/checkasm.c

+ 2
- 0
tests/checkasm/checkasm.c View File

@@ -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)
{


Loading…
Cancel
Save