mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 09:25:20 +00:00
Add comments to suppress warning from wamrc (#3175)
This commit is contained in:
parent
8493ffa1cc
commit
94db327f06
|
@ -83,6 +83,7 @@ read_leb(const uint8 *buf, const uint8 *buf_end, uint32 *p_offset,
|
|||
return true;
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE */
|
||||
#define read_leb_uint32(p, p_end, res) \
|
||||
do { \
|
||||
uint32 off = 0; \
|
||||
|
@ -93,6 +94,7 @@ read_leb(const uint8 *buf, const uint8 *buf_end, uint32 *p_offset,
|
|||
res = (uint32)res64; \
|
||||
} while (0)
|
||||
|
||||
/* NOLINTNEXTLINE */
|
||||
#define read_leb_int32(p, p_end, res) \
|
||||
do { \
|
||||
uint32 off = 0; \
|
||||
|
@ -103,6 +105,7 @@ read_leb(const uint8 *buf, const uint8 *buf_end, uint32 *p_offset,
|
|||
res = (int32)res64; \
|
||||
} while (0)
|
||||
|
||||
/* NOLINTNEXTLINE */
|
||||
#define read_leb_int64(p, p_end, res) \
|
||||
do { \
|
||||
uint32 off = 0; \
|
||||
|
|
|
@ -1529,6 +1529,7 @@ fail_integer_too_large:
|
|||
return false;
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE */
|
||||
#define read_leb_uint32(p, p_end, res) \
|
||||
do { \
|
||||
uint64 res64; \
|
||||
|
|
Loading…
Reference in New Issue
Block a user