Browse Source

V4L/DVB (10406): gspca: fix compiler warning

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil 16 years ago
parent
commit
d9ddd3b010
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/gspca/t613.c

+ 1 - 1
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[] =