mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-84461: Silence some compiler warnings on WASM (GH-93978) (#94025)
(cherry picked from commit 774ef28814
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
8a1bade510
commit
9d73adf7a4
4 changed files with 9 additions and 5 deletions
|
@ -996,6 +996,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
|
||||
|
@ -1015,6 +1016,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