summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/alias.c')
-rw-r--r--tools/perf/util/alias.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/alias.c b/tools/perf/util/alias.c
index b8144e80bb1..e6d134773d0 100644
--- a/tools/perf/util/alias.c
+++ b/tools/perf/util/alias.c
@@ -3,7 +3,8 @@
static const char *alias_key;
static char *alias_val;
-static int alias_lookup_cb(const char *k, const char *v, void *cb __used)
+static int alias_lookup_cb(const char *k, const char *v,
+ void *cb __maybe_unused)
{
if (!prefixcmp(k, "alias.") && !strcmp(k+6, alias_key)) {
if (!v)