Browse Source

V4L/DVB (9904): v4l: fix compile warning.

Fix (bogus) compile warning about uninitialized variable.

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

+ 1 - 1
drivers/media/video/sh_mobile_ceu_camera.c

@@ -453,7 +453,7 @@ static int sh_mobile_ceu_try_bus_param(struct soc_camera_device *icd,
 static int sh_mobile_ceu_set_fmt(struct soc_camera_device *icd,
 				 __u32 pixfmt, struct v4l2_rect *rect)
 {
-	const struct soc_camera_data_format *cam_fmt;
+	const struct soc_camera_data_format *cam_fmt = NULL;
 	int ret;
 
 	/*