Skip to content

Commit

Permalink
fixed empty label for goto
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Mar 4, 2024
1 parent bbc7ceb commit 4427904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ static int _device_open_dv_timings(us_device_s *dev, bool apply) {
_D_LOG_DEBUG("Applied new video standard: %s", _standard_to_string(dev->standard));

subscribe:
; // Empty statement for the goto label above
struct v4l2_event_subscription sub = {.type = V4L2_EVENT_SOURCE_CHANGE};
_D_LOG_DEBUG("Subscribing to V4L2_EVENT_SOURCE_CHANGE ...")
if (us_xioctl(dev->run->fd, VIDIOC_SUBSCRIBE_EVENT, &sub) < 0) {
Expand Down

0 comments on commit 4427904

Please sign in to comment.