Warning in omap_vout.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Repost, this time without using HTML. My mailer switches to HTML once in a while
for no reason. Very annoying.)

The daily build has this warning:

v4l-dvb-git/drivers/media/video/omap/omap_vout.c: In function ‘omapvid_init’:
v4l-dvb-git/drivers/media/video/omap/omap_vout.c:381:17: warning: ‘mode’ may be used uninitialized in this function [-Wuninitialized]
v4l-dvb-git/drivers/media/video/omap/omap_vout.c:331:23: note: ‘mode’ was declared here

Can someone check this?

The problem is that video_mode_to_dss_mode() has a 'case 0:' that never sets
the mode. I suspect that the case 0 can be removed so that it goes to the
default case.

Can someone verify this?

Regards,

        Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux