diff --git a/test/generator/gpu_multi_context_threaded_aottest.cpp b/test/generator/gpu_multi_context_threaded_aottest.cpp index fdaab364b7c9..05852909ba57 100644 --- a/test/generator/gpu_multi_context_threaded_aottest.cpp +++ b/test/generator/gpu_multi_context_threaded_aottest.cpp @@ -107,9 +107,7 @@ bool init_context(int &context) { context = 0; return true; } -void destroy_context(int &context) { - context = 0; -} +void destroy_context(int & /* context */) { #define HAS_MULTIPLE_CONTEXTS false #endif