[media] rainshadow-cec: ensure exit_loop is intialized
authorColin Ian King <colin.king@canonical.com>
Fri, 19 May 2017 17:45:15 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 4 Jun 2017 18:23:32 +0000 (15:23 -0300)
commitca33784ba4949856a94a545c91429aae5c8b658d
tree938cc6d302211ac53b4b5b0150dbe5c589fc0b2e
parentf224c5768c78cb42f582636c4720a4d81d452778
[media] rainshadow-cec: ensure exit_loop is intialized

exit_loop is not being initialized, so it contains garbage. Ensure it is
initialized to false.

Detected by CoverityScan, CID#1436409 ("Uninitialized scalar variable")

Fixes: ea6a69defd3311 ("[media] rainshadow-cec: avoid -Wmaybe-uninitialized warning")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/rainshadow-cec/rainshadow-cec.c