gh-130099: Fix CAN socket fallthrough annotation for NetBSD compatibility (#131026)

This commit is contained in:
Furkan Onder 2025-03-13 13:25:43 +03:00 committed by GitHub
parent 93089c0736
commit e98d321bef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2258,8 +2258,10 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
switch (s->sock_proto) {
#ifdef CAN_RAW
case CAN_RAW:
#ifdef CAN_BCM
_Py_FALLTHROUGH;
#endif
#endif
#ifdef CAN_BCM
case CAN_BCM:
#endif