]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
V4L/DVB (9904): v4l: fix compile warning.
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 15 Dec 2008 10:15:32 +0000 (07:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:12 +0000 (09:39 -0200)
Fix (bogus) compile warning about uninitialized variable.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c

index d284d5d1dd01db821084fe80642b1757e9f6b9ac..c25ea0047e0487e698d113e1819e41e709c8bf4f 100644 (file)
@@ -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;
 
        /*