aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-29 06:02:31 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-29 06:04:21 -0400
commit0d0d76e5bcd70439b0e736a99539d7eef4f87baf (patch)
treeff474ff9c845499a665e815ef126d83de64dbeeb /drivers
parent94af1b63d866289aabad0514f5c8ecf223f502fb (diff)
[media] xc4000: Fix a few warnings
drivers/media/tuners/xc4000.c: In function ‘check_firmware’: drivers/media/tuners/xc4000.c:1048:45: warning: ‘fw_minor’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/media/tuners/xc4000.c:1048:39: warning: ‘fw_major’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/media/tuners/xc4000.c:1062:39: warning: ‘hw_minor’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/media/tuners/xc4000.c:1062:33: warning: ‘hw_major’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/tuners/xc4000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/xc4000.c b/drivers/media/tuners/xc4000.c
index 4937712278f6..5c0fd787cc8f 100644
--- a/drivers/media/tuners/xc4000.c
+++ b/drivers/media/tuners/xc4000.c
@@ -934,7 +934,7 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type,
934 int rc = 0, is_retry = 0; 934 int rc = 0, is_retry = 0;
935 u16 hwmodel; 935 u16 hwmodel;
936 v4l2_std_id std0; 936 v4l2_std_id std0;
937 u8 hw_major, hw_minor, fw_major, fw_minor; 937 u8 hw_major = 0, hw_minor = 0, fw_major = 0, fw_minor = 0;
938 938
939 dprintk(1, "%s called\n", __func__); 939 dprintk(1, "%s called\n", __func__);
940 940