Skip to content

Commit 5d42695

Browse files
committed
IPC4: Helper: Avoid warning about unused in ipc4_get_drv()
This change avoids warning/error: sof/src/ipc/ipc4/helper.c:945:31: error: unused variable 'sof_uuid' [-Werror,-Wunused-variable] Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent f57324c commit 5d42695

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ipc/ipc4/helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,8 @@ __cold static const struct comp_driver *ipc4_get_drv(const void *uuid)
949949
struct comp_driver_info *info;
950950
uint32_t flags;
951951

952+
(void)sof_uuid; /* Avoid possible warning of unused */
953+
952954
assert_can_be_cold();
953955

954956
irq_local_disable(flags);

0 commit comments

Comments
 (0)