François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
4f9b8695 by Steve Lhomme at 2023-01-21T11:54:51+00:00
network: explicitly mark unreachable code
We can't exit the loop without a return.
- - - - -
1 changed file:
- src/network/io.c
Changes:
=====================================
src/network/io.c
=====================================
@@ -361,7 +361,7 @@ int net_Accept(vlc_object_t *obj, int *fds)
return fd;
}
}
- return -1;
+ vlc_assert_unreachable();
}
ssize_t (net_Read)(vlc_object_t *restrict obj, int fd,
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4f9b8695a757ff6cc548310080becfe574c565ef
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/4f9b8695a757ff6cc548310080becfe574c565ef
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits