diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-15 20:29:10 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-16 22:20:05 +0100 |
| commit | 138d455393683532fb9d96fd398dfcdfa5d97057 (patch) | |
| tree | 2102e8ffa63c294bb2824ce5ff539c32694ed13a /core/text.c | |
| parent | c06ae6ba12a908bd87e00b27d00a79e305ea53c7 (diff) | |
| download | vis-138d455393683532fb9d96fd398dfcdfa5d97057.tar.gz vis-138d455393683532fb9d96fd398dfcdfa5d97057.tar.xz | |
text/core: fix make debug and related warnings
Diffstat (limited to 'core/text.c')
| -rw-r--r-- | core/text.c | 7 |
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); |
