mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
semantic/parser: fix compile warning found by sparse
Reference: https://linux.die.net/man/1/sparse Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -468,7 +468,7 @@ static FAR const char *evalexpr(FAR struct eval_s *ev,
|
||||
return s;
|
||||
}
|
||||
|
||||
unsigned long eval(FAR const char *s, unsigned long n)
|
||||
static unsigned long eval(FAR const char *s, unsigned long n)
|
||||
{
|
||||
struct eval_s ev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user