diff options
Diffstat (limited to 'src/reader.h')
-rw-r--r-- | src/reader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h index 723a1c5a..f6cbc7ad 100644 --- a/src/reader.h +++ b/src/reader.h @@ -36,6 +36,8 @@ eat_byte(SerdReader* reader) static inline uint8_t eat_byte_safe(SerdReader* reader, const uint8_t byte) { + (void)byte; + const uint8_t c = eat_byte(reader); assert(c == byte); return c; |