mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
gh-130099: Fix CAN socket fallthrough annotation for NetBSD compatibility (#131026)
This commit is contained in:
parent
93089c0736
commit
e98d321bef
1 changed files with 2 additions and 0 deletions
|
@ -2258,7 +2258,9 @@ 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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue