perf tools: Use __maybe_used for unused variables
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / tools / perf / ui / gtk / setup.c
index 26429437e19e6fa123b28cf0ff3dd98210fe1eb0..3c4c6ef782838f0627cb0ef796daa9892a8196d1 100644 (file)
@@ -12,7 +12,7 @@ int perf_gtk__init(void)
        return gtk_init_check(NULL, NULL) ? 0 : -1;
 }
 
-void perf_gtk__exit(bool wait_for_ok __used)
+void perf_gtk__exit(bool wait_for_ok __maybe_unused)
 {
        if (!perf_gtk__is_active_context(pgctx))
                return;