aboutsummaryrefslogtreecommitdiff
path: root/core/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/text.c')
-rw-r--r--core/text.c7
1 files changed, 0 insertions, 7 deletions
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);