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:
parent
ad6dfd3df6
commit
cc5fb48598
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue