From: Hans Verkuil Date: Thu, 29 Jan 2009 09:23:18 +0000 (-0300) Subject: V4L/DVB (10406): gspca: fix compiler warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9ddd3b01043269a9a8803b6b8b8b472e054733c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB (10406): gspca: fix compiler warning Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c index 49db21e1376c..0a1f4efdc6ed 100644 --- a/drivers/media/video/gspca/t613.c +++ b/drivers/media/video/gspca/t613.c @@ -635,7 +635,7 @@ static int sd_init(struct gspca_dev *gspca_dev) struct sd *sd = (struct sd *) gspca_dev; int i; u16 sensor_id; - u8 test_byte; + u8 test_byte = 0; u16 reg80, reg8e; static const u8 read_indexs[] =