Message ID | 1356864617-22410-1-git-send-email-pmeerw@pmeerw.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c index 35cc526..0266ed2 100644 --- a/drivers/media/platform/omap/omap_vout.c +++ b/drivers/media/platform/omap/omap_vout.c @@ -333,8 +333,6 @@ static int video_mode_to_dss_mode(struct omap_vout_device *vout) ovl = ovid->overlays[0]; switch (pix->pixelformat) { - case 0: - break; case V4L2_PIX_FMT_YUYV: mode = OMAP_DSS_COLOR_YUV2; break;
drivers/media/platform/omap/omap_vout.c: In function ‘omapvid_init’: drivers/media/platform/omap/omap_vout.c:380:17: warning: ‘mode’ may be used uninitialized in this function [-Wuninitialized] drivers/media/platform/omap/omap_vout.c:330:23: note: ‘mode’ was declared here this issue was raised in May 2012 already (http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48617) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Vaibhav Hiremath <hvaibhav@ti.com> --- drivers/media/platform/omap/omap_vout.c | 2 -- 1 file changed, 2 deletions(-)