[alsa-devel] [PATCH] ALSA: info: remove redundant assignment to variable c

Takashi Iwai tiwai at suse.de
Mon Feb 10 08:31:18 CET 2020


On Sat, 08 Feb 2020 23:42:06 +0100,
Colin King wrote:
> 
> From: Colin Ian King <colin.king at canonical.com>
> 
> Variable c is being assigned with the value -1 that is never read,
> it is assigned a new value in a following while-loop. The assignment
> is redundant and can be removed.
> 
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list