mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +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,8 +2258,10 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
||||||
switch (s->sock_proto) {
|
switch (s->sock_proto) {
|
||||||
#ifdef CAN_RAW
|
#ifdef CAN_RAW
|
||||||
case CAN_RAW:
|
case CAN_RAW:
|
||||||
|
#ifdef CAN_BCM
|
||||||
_Py_FALLTHROUGH;
|
_Py_FALLTHROUGH;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef CAN_BCM
|
#ifdef CAN_BCM
|
||||||
case CAN_BCM:
|
case CAN_BCM:
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue