libc/stdio: Don't fetch width/prec modifier in parser phase
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
428ce93ee5
commit
a2e9e83956
@ -363,6 +363,10 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
||||
flags |= FL_ASTERISK;
|
||||
continue;
|
||||
}
|
||||
else if (stream == NULL)
|
||||
{
|
||||
continue; /* We do only parsing */
|
||||
}
|
||||
#endif
|
||||
|
||||
if ((flags & FL_PREC) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user