mirror of
https://github.com/apache/nuttx.git
synced 2026-08-22 14:08:30 +00:00
libc/strptime: fix warning unused-value
warning: value computed is not used [-Wunused-value] Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
6d3f14d41d
commit
96ea9b71ed
1 changed files with 2 additions and 2 deletions
|
|
@ -413,8 +413,8 @@ _conv_num(const unsigned char **buf, int *dest, int llim, int ulim)
|
|||
int result = 0;
|
||||
int rulim = ulim;
|
||||
|
||||
while (ispace(**buf))
|
||||
*buf++;
|
||||
while (isspace(**buf))
|
||||
(*buf)++;
|
||||
|
||||
if (**buf < '0' || **buf > '9')
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue