diff options
author | Zeng Jingxiang <[email protected]> | 2022-07-28 18:12:36 +0800 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-08-30 07:30:20 +0200 |
commit | d682869daa23938b5e8919db45c4b5b227749712 (patch) | |
tree | 88e386efcfe2e515083cfd2ae1e9c11a2dcc67e2 /tools/lib/api/debug.c | |
parent | 2b064d91440b33fba5b452f2d1b31f13ae911d71 (diff) |
media: tm6000: Fix unused value in vidioc_try_fmt_vid_cap()
Coverity warns of an unused value:
assigned_value: Assign the value of the variable f->fmt.pix.field
to field here, but that stored value is overwritten.
before it can be used.
919 field = f->fmt.pix.field;
920
value_overwrite: Overwriting previous write to field with
the value of V4L2_FIELD_INTERLACED.
921 field = V4L2_FIELD_INTERLACED;
Fixes: ed57256f6fe8 ("[media] tm6000: fix G/TRY_FMT")
Signed-off-by: Zeng Jingxiang <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions