summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-07-01 22:40:24 +0200
committerMax Kellermann <max@musicpd.org>2020-07-01 22:41:00 +0200
commit745e492d159f34b8c643ebd0d70ab57dc6d5f493 (patch)
tree74fa96681b79b730aa59371e0967ccbaf7c642d1 /src
parentc5dc615efefdadb2f9321b140a8f1ae23c3670ed (diff)
output/osx: use [[maybe_unused]]
Diffstat (limited to 'src')
-rw-r--r--src/output/plugins/OSXOutputPlugin.cxx6
1 files 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)
{