diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-23 05:32:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 15:09:31 -0400 |
commit | f9ac50c244f9030b300d6f390e838239612d7efa (patch) | |
tree | 8da9abbf476f2da606ba9d5590c0f5fa8ae1f377 /drivers/media/video/vino.c | |
parent | 91e0cd499fe8482d5104c1f8f49b478f76617b40 (diff) |
[media] vino: fix compiler warnings
v4l-dvb-git/drivers/media/video/vino.c: In function 'vino_acquire_input':
v4l-dvb-git/drivers/media/video/vino.c:2602:18: warning: 'data_norm' may be used uninitialized in this function [-Wuninitialized]
v4l-dvb-git/drivers/media/video/vino.c: In function 'vino_set_input':
v4l-dvb-git/drivers/media/video/vino.c:2690:19: warning: 'data_norm' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vino.c')
-rw-r--r-- | drivers/media/video/vino.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c index 4d7391ec8001..aae1720b2f2d 100644 --- a/drivers/media/video/vino.c +++ b/drivers/media/video/vino.c | |||
@@ -2561,7 +2561,7 @@ static int vino_acquire_input(struct vino_channel_settings *vcs) | |||
2561 | } else if (vino_drvdata->decoder | 2561 | } else if (vino_drvdata->decoder |
2562 | && (vino_drvdata->decoder_owner == VINO_NO_CHANNEL)) { | 2562 | && (vino_drvdata->decoder_owner == VINO_NO_CHANNEL)) { |
2563 | int input; | 2563 | int input; |
2564 | int data_norm; | 2564 | int data_norm = 0; |
2565 | v4l2_std_id norm; | 2565 | v4l2_std_id norm; |
2566 | 2566 | ||
2567 | input = VINO_INPUT_COMPOSITE; | 2567 | input = VINO_INPUT_COMPOSITE; |
@@ -2651,7 +2651,7 @@ static int vino_set_input(struct vino_channel_settings *vcs, int input) | |||
2651 | } | 2651 | } |
2652 | 2652 | ||
2653 | if (vino_drvdata->decoder_owner == vcs->channel) { | 2653 | if (vino_drvdata->decoder_owner == vcs->channel) { |
2654 | int data_norm; | 2654 | int data_norm = 0; |
2655 | v4l2_std_id norm; | 2655 | v4l2_std_id norm; |
2656 | 2656 | ||
2657 | ret = decoder_call(video, s_routing, | 2657 | ret = decoder_call(video, s_routing, |