Re: [PATCH] libperf test: Fix build error

Arnaldo Carvalho de Melo
2021-10-08T18:51:53Z

Em Fri, Oct 08, 2021 at 03:09:03PM +0200, Jiri Olsa escreveu:
> On Wed, Oct 06, 2021 at 06:57:03PM +0900, Shunsuke Nakamura wrote:
> > In test_stat_user_read, following build error occurs except i386 and
> > x86_64 architectures:
> >
> > tests/test-evsel.c:129:31: error: variable 'pc' set but not used [-Werror=unused-but-set-variable]
> > struct perf_event_mmap_page *pc;
> >
> > Fix build error.
> >
> > Signed-off-by: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
>
> Acked-by: Jiri Olsa <jolsa@redhat.com>

Thanks, applied.

- Arnaldo