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 49db21e1376c7c29ddc33fab88064ff3325192f1..0a1f4efdc6edb1ff13fdbbc7f3062551e228b087 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[] =