aboutsummaryrefslogtreecommitdiff
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/alias.c b/tools/perf/util/alias.c
index 9b3dd2b428d..b8144e80bb1 100644
--- a/tools/perf/util/alias.c
+++ b/tools/perf/util/alias.c
@@ -3,7 +3,7 @@
static const char *alias_key;
static char *alias_val;
-static int alias_lookup_cb(const char *k, const char *v, void *cb)
+static int alias_lookup_cb(const char *k, const char *v, void *cb __used)
{
if (!prefixcmp(k, "alias.") && !strcmp(k+6, alias_key)) {
if (!v)