mirror of
https://github.com/python/cpython.git
synced 2025-08-21 17:25:34 +00:00
gh-84461: Silence some compiler warnings on WASM (GH-93978)
(cherry picked from commit 774ef28814
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
5abe4cbe88
commit
81686e701c
7 changed files with 12 additions and 8 deletions
|
@ -1013,6 +1013,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
|
||||
|
@ -1032,6 +1033,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