commit 3c17c9518f6102ae8006799cab4f1c0fc606c0d1
parent e33e8cf6c54e4f3d2f6fbd028b6d5ba30d9a1c5a
Author: William Casarin <jb55@jb55.com>
Date: Tue, 20 Jul 2021 00:07:39 -0700
remove some logs
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/cursor.h b/src/cursor.h
@@ -198,7 +198,6 @@ static inline int cursor_top_int(struct cursor *cur, int *i)
static inline int cursor_pop(struct cursor *cur, u8 *data, int len)
{
if (unlikely(cur->p - len < cur->start)) {
- printf("cursor_pop oob\n");
return 0;
}
@@ -211,7 +210,6 @@ static inline int cursor_pop(struct cursor *cur, u8 *data, int len)
static inline int cursor_push(struct cursor *cursor, u8 *data, int len)
{
if (unlikely(cursor->p + len > cursor->end)) {
- printf("cursor_push oob\n");
return 0;
}