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

This commit is contained in:
hackerman-kl 2025-12-11 08:13:20 +01:00
parent 548f26882f
commit ba8c6154a0

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) {