diff options
Diffstat (limited to 'nuttx/net/send.c')
-rw-r--r-- | nuttx/net/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/send.c b/nuttx/net/send.c index cfb56f1ca..84c6757b0 100644 --- a/nuttx/net/send.c +++ b/nuttx/net/send.c @@ -259,7 +259,7 @@ ssize_t send(int sockfd, const void *buf, size_t len, int flags) struct send_s state; irqstate_t save; int err; - int ret; + int ret = OK; /* Verify that the sockfd corresponds to valid, allocated socket */ |