commit bd924fa2ec29d96d3538e975b34c2f7c2105a670
parent 175c566ceadcdd9c233194625bfc388c46677db9
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 10 Dec 2017 02:50:40 -0500
Remove unused function
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/string.c b/src/string.c
@@ -34,11 +34,6 @@ void str_free(str_t *str) {
free(str);
}
-void str_reset(str_t *str) {
- str->len = 0;
- str->str[0] = '\0';
-}
-
int str_append_ch(str_t *str, uint32_t ch) {
int size = utf8_chsize(ch);
if (size <= 0) {