Remove s_check() macro

This commit is contained in:
matt335672
2022-02-09 10:18:15 +00:00
parent a13742f097
commit e6c098e750
3 changed files with 2 additions and 5 deletions
-3
View File
@@ -89,9 +89,6 @@ parser_stream_overflow_check(const struct stream *s, int n, int is_out,
# define S_CHECK_REM_OUT(s,n)
#endif
/******************************************************************************/
#define s_check(s) s_check_rem(s, 0)
/******************************************************************************/
#define s_check_rem(s, n) ((s)->p + (n) <= (s)->end)