More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.

This commit is contained in:
Gregory Nutt
2014-11-25 14:10:35 -06:00
parent 9ac09db800
commit 1aa528a572
9 changed files with 9 additions and 14 deletions
+1
View File
@@ -146,6 +146,7 @@ int execl(FAR const char *path, ...)
if (++nargs > MAX_EXECL_ARGS)
{
set_errno(E2BIG);
va_end(ap);
return ERROR;
}
}