mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +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:
@@ -50,7 +50,7 @@
|
||||
|
||||
#define _ALT_E 0x01
|
||||
#define _ALT_O 0x02
|
||||
#define _LEGAL_ALT(x) { if (alt_format & ~(x)) return (0); }
|
||||
#define _LEGAL_ALT(x) { if (alt_format & ~(x)) return (NULL); }
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
||||
Reference in New Issue
Block a user