mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
This commit is contained in:
@@ -146,6 +146,7 @@ int execl(FAR const char *path, ...)
|
||||
if (++nargs > MAX_EXECL_ARGS)
|
||||
{
|
||||
set_errno(E2BIG);
|
||||
va_end(ap);
|
||||
return ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user