From 341890e07d8215cad1ee46065e1fb87c94aa657a Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Thu, 24 May 2018 04:38:17 +0000 Subject: [PATCH] fix !amd64 signature for pmu_sample_rate_get --- lib/libpmcstat/libpmcstat_pmu_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpmcstat/libpmcstat_pmu_util.c b/lib/libpmcstat/libpmcstat_pmu_util.c index 494a0c5a5068..65bc160dfe76 100644 --- a/lib/libpmcstat/libpmcstat_pmu_util.c +++ b/lib/libpmcstat/libpmcstat_pmu_util.c @@ -124,5 +124,5 @@ pmcstat_pmu_sample_rate_get(const char *event_name) } #else -uint64_t pmcstat_pmu_sample_rate_get(void) { return (DEFAULT_SAMPLE_COUNT); } +uint64_t pmcstat_pmu_sample_rate_get(const char *event_name __unused) { return (DEFAULT_SAMPLE_COUNT); } #endif