From 745e492d159f34b8c643ebd0d70ab57dc6d5f493 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Jul 2020 22:40:24 +0200 Subject: [PATCH] output/osx: use [[maybe_unused]] --- src/output/plugins/OSXOutputPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index d8684da16..8034575f1 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -628,9 +628,9 @@ osx_output_set_device(OSXOutput *oo) */ static OSStatus osx_render(void *vdata, - gcc_unused AudioUnitRenderActionFlags *io_action_flags, - gcc_unused const AudioTimeStamp *in_timestamp, - gcc_unused UInt32 in_bus_number, + [[maybe_unused]] AudioUnitRenderActionFlags *io_action_flags, + [[maybe_unused]] const AudioTimeStamp *in_timestamp, + [[maybe_unused]] UInt32 in_bus_number, UInt32 in_number_frames, AudioBufferList *buffer_list) {