mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
net/usrsock/usrsock_dev.c: Fix uninitialized return value introduced in 6a3c2ade.
This commit is contained in:
parent
ecfdd6e056
commit
260af07717
1 changed files with 1 additions and 1 deletions
|
|
@ -1166,7 +1166,7 @@ int usrsockdev_do_request(FAR struct usrsock_conn_s *conn,
|
|||
{
|
||||
FAR struct usrsockdev_s *dev = conn->dev;
|
||||
FAR struct usrsock_request_common_s *req_head = iov[0].iov_base;
|
||||
int ret;
|
||||
int ret = OK;
|
||||
|
||||
if (!dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue