V4L/DVB (10406): gspca: fix compiler warning
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 29 Jan 2009 09:23:18 +0000 (06:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:35 +0000 (12:42 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/t613.c

index 49db21e..0a1f4ef 100644 (file)
@@ -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[] =