Skip to content
Commit 344f0f82 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai
Browse files

ALSA: firewire-lib: Fix uninitialized variable err issue



The check of error is just done for the case that CIP header is available.

This commit moves auto variable into the branch to process CIP header.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: c09010ee ("ALSA: firewire-lib: handle the case that empty isochronous packet payload for CIP")
Suggested-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210520130409.GA170303@workstation


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent be22db77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment