mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
v4l2: cast unused return to void
Quell unchecked return value defect by casting the return value to void and making it explicit it is going to be ignored. CID #206031
This commit is contained in:
parent
5c7c90ff2c
commit
dad26043c3
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ gst_v4l2_set_frequency (GstV4l2Object * v4l2object,
|
|||
|
||||
freq.tuner = tunernum;
|
||||
/* fill in type - ignore error */
|
||||
v4l2_ioctl (v4l2object->video_fd, VIDIOC_G_FREQUENCY, &freq);
|
||||
(void) v4l2_ioctl (v4l2object->video_fd, VIDIOC_G_FREQUENCY, &freq);
|
||||
freq.frequency = frequency / channel->freq_multiplicator;
|
||||
|
||||
if (v4l2_ioctl (v4l2object->video_fd, VIDIOC_S_FREQUENCY, &freq) < 0)
|
||||
|
|
Loading…
Reference in a new issue