net/usrsock/usrsock_dev.c: Fix uninitialized return value introduced in 6a3c2ade
.
This commit is contained in:
parent
ecfdd6e056
commit
260af07717
@ -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…
Reference in New Issue
Block a user