mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 21071: no need to init accept_fd
This commit is contained in:
parent
7ded454d2d
commit
ad6dfd3df6
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ rops_handle_POLLIN_listen(struct lws_context_per_thread *pt, struct lws *wsi,
|
|||
struct lws_pollfd *pollfd)
|
||||
{
|
||||
struct lws_context *context = wsi->a.context;
|
||||
lws_sockfd_type accept_fd = LWS_SOCK_INVALID;
|
||||
lws_sockfd_type accept_fd;
|
||||
lws_sock_file_fd_type fd;
|
||||
struct sockaddr_storage cli_addr;
|
||||
socklen_t clilen;
|
||||
|
|
Loading…
Add table
Reference in a new issue