net/usrsock/usrsock_dev.c: Fix uninitialized return value introduced in 6a3c2ade.

This commit is contained in:
Juha Niskanen 2020-01-09 07:31:40 -06:00 committed by Gregory Nutt
parent ecfdd6e056
commit 260af07717

View File

@ -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)
{