mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-25 03:30:03 +01:00
milan-avb: silent gcc warning as the variable will be used
This commit is contained in:
parent
548f26882f
commit
ba8c6154a0
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
AVB_AECP_AEM_STATUS_BAD_ARGUMENTS, m, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(void)stream;
|
||||||
stream_desc = (struct avb_aem_desc_stream *)desc->ptr;
|
stream_desc = (struct avb_aem_desc_stream *)desc->ptr;
|
||||||
for (i = 0; i < ntohs(stream_desc->number_of_formats); i++) {
|
for (i = 0; i < ntohs(stream_desc->number_of_formats); i++) {
|
||||||
if (stream_desc->stream_formats[i] == new_format) {
|
if (stream_desc->stream_formats[i] == new_format) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue