1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

coverity: 21034: dont bother assigning shutdown api return

This commit is contained in:
Andy Green 2020-08-18 13:14:44 +01:00
parent ad6dfd3df6
commit cc5fb48598

View file

@ -306,7 +306,7 @@ __lws_tls_shutdown(struct lws *wsi)
switch (n) {
case 1: /* successful completion */
n = shutdown(wsi->desc.sockfd, SHUT_WR);
(void)shutdown(wsi->desc.sockfd, SHUT_WR);
return LWS_SSL_CAPABLE_DONE;
case 0: /* needs a retry */