From 138d455393683532fb9d96fd398dfcdfa5d97057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 15 Dec 2016 20:29:10 +0100 Subject: text/core: fix make debug and related warnings --- core/text.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/text.c') diff --git a/core/text.c b/core/text.c index 3da647a..8028599 100644 --- a/core/text.c +++ b/core/text.c @@ -20,13 +20,6 @@ static bool isempty(Text *txt) { return text_size(txt) == 0; } -static char *content(Text *txt) { - static char buf[BUFSIZ]; - size_t len = text_bytes_get(txt, 0, sizeof(buf)-1, buf); - buf[len] = '\0'; - return buf; -} - static bool compare(Text *txt, const char *data) { char buf[BUFSIZ]; size_t len = text_bytes_get(txt, 0, sizeof(buf)-1, buf); -- cgit v1.2.3