Introduction
Introduction Statistics Contact Development Disclaimer Help
test: remove unused debugging code - lchat - A line oriented chat front end for…
git clone git://git.suckless.org/lchat
Log
Files
Refs
README
---
commit 9d1bae536e78c285543f6b7b4594aa603e75faa8
parent b04323cbd25293b64b73cf544cb3af077e7a0050
Author: Jan Klemkow <[email protected]>
Date: Thu, 20 Oct 2022 09:47:23 +0200
test: remove unused debugging code
Diffstat:
M sl_test.c | 14 --------------
1 file changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/sl_test.c b/sl_test.c
@@ -13,20 +13,6 @@ strokes(struct slackline *sl, const char *str)
}
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)
{
assert(sl != NULL);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.