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:
Miss Islington (bot) 2022-06-20 05:08:14 -07:00 committed by GitHub
parent 5abe4cbe88
commit 81686e701c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 8 deletions

View file

@ -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