xiaoxiang781216 commented on issue #24: Fix wait loop and void cast URL: https://github.com/apache/incubator-nuttx/pull/24#issuecomment-572544527 > This could be it: > > ``` > diff --git a/net/usrsock/usrsock_dev.c b/net/usrsock/usrsock_dev.c > index 9359fd0..2bca669 100644 > --- a/net/usrsock/usrsock_dev.c > +++ b/net/usrsock/usrsock_dev.c > @@ -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) > { > ``` > > still looking at the patch if there more instances.... Good finding, it explain why sometime the test case can pass, but sometime not.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
