mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Fix a few places where there was a semicolon following the 'if' condition, makeing the following logic unconditional.
This commit is contained in:
@@ -94,7 +94,7 @@ int nxmq_send(mqd_t mqdes, FAR const char *msg, size_t msglen, int prio)
|
||||
*/
|
||||
|
||||
ret = nxmq_verify_send(mqdes, msg, msglen, prio);
|
||||
if (ret < 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user