commit 9d1bae536e78c285543f6b7b4594aa603e75faa8
Author: Jan Klemkow <[email protected]>
AuthorDate: Thu Oct 20 09:47:23 2022 +0200
Commit: Jan Klemkow <[email protected]>
CommitDate: Thu Oct 20 09:47:23 2022 +0200
test: remove unused debugging code
diff --git a/sl_test.c b/sl_test.c
index 0648e7a..87cfe30 100644
--- a/sl_test.c
+++ b/sl_test.c
@@ -12,20 +12,6 @@ strokes(struct slackline *sl, const char *str)
sl_keystroke(sl, *c);
}
-static void
-print_state(struct slackline *sl)
-{
- size_t l = sl->last - sl->buf;
-
- printf("rcur: %zu bcur: %zu rlen: %zu blen: %zu l: %zu buf: \"%s\" ",
- sl->rcur, sl->bcur, sl->rlen, sl->blen, l, sl->buf);
-
- for (size_t i = 0; i < strlen(sl->buf); i++)
- printf("%X", sl->buf[i] & 0xff);
-
- putchar('\n');
-}
-
static void
check_init(struct slackline *sl)
{