mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
[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>
This commit is contained in:
parent
91e0cd499f
commit
f9ac50c244
1 changed files with 2 additions and 2 deletions
|
@ -2561,7 +2561,7 @@ static int vino_acquire_input(struct vino_channel_settings *vcs)
|
||||||
} else if (vino_drvdata->decoder
|
} else if (vino_drvdata->decoder
|
||||||
&& (vino_drvdata->decoder_owner == VINO_NO_CHANNEL)) {
|
&& (vino_drvdata->decoder_owner == VINO_NO_CHANNEL)) {
|
||||||
int input;
|
int input;
|
||||||
int data_norm;
|
int data_norm = 0;
|
||||||
v4l2_std_id norm;
|
v4l2_std_id norm;
|
||||||
|
|
||||||
input = VINO_INPUT_COMPOSITE;
|
input = VINO_INPUT_COMPOSITE;
|
||||||
|
@ -2651,7 +2651,7 @@ static int vino_set_input(struct vino_channel_settings *vcs, int input)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vino_drvdata->decoder_owner == vcs->channel) {
|
if (vino_drvdata->decoder_owner == vcs->channel) {
|
||||||
int data_norm;
|
int data_norm = 0;
|
||||||
v4l2_std_id norm;
|
v4l2_std_id norm;
|
||||||
|
|
||||||
ret = decoder_call(video, s_routing,
|
ret = decoder_call(video, s_routing,
|
||||||
|
|
Loading…
Reference in a new issue