Merge branch 'avb-gcc-warning-stream-not-used-var' into 'master'

milan-avb: silent gcc warning as the variable will be used

See merge request pipewire/pipewire!2630
This commit is contained in:
hackerman-kl 2025-12-11 08:15:06 +01:00
commit d0aac4ecb9

View file

@ -123,6 +123,7 @@ int handle_cmd_set_stream_format_milan_v12(struct aecp *aecp, int64_t now,
AVB_AECP_AEM_STATUS_BAD_ARGUMENTS, m, len);
}
(void)stream;
stream_desc = (struct avb_aem_desc_stream *)desc->ptr;
for (i = 0; i < ntohs(stream_desc->number_of_formats); i++) {
if (stream_desc->stream_formats[i] == new_format) {