mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-84461: Silence some compiler warnings on WASM (GH-93978)
This commit is contained in:
parent
affa9f22cf
commit
774ef28814
7 changed files with 12 additions and 8 deletions
|
@ -1016,6 +1016,7 @@ init_sockobject(PySocketSockObject *s,
|
|||
}
|
||||
|
||||
|
||||
#ifdef HAVE_SOCKETPAIR
|
||||
/* Create a new socket object.
|
||||
This just creates the object and initializes it.
|
||||
If the creation fails, return NULL and set an exception (implicit
|
||||
|
@ -1035,6 +1036,7 @@ new_sockobject(SOCKET_T fd, int family, int type, int proto)
|
|||
}
|
||||
return s;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Lock to allow python interpreter to continue, but only allow one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue