From 229d8107470ded5e5e6c43cf5daeabf382cce9d1 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 11 Jan 2010 21:16:26 -0800 Subject: strbuf.c: remove unused function strbuf_tolower() is not used anywhere. Signed-off-by: Junio C Hamano --- strbuf.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'strbuf.c') diff --git a/strbuf.c b/strbuf.c index a6153dca27..3fa81b3365 100644 --- a/strbuf.c +++ b/strbuf.c @@ -91,13 +91,6 @@ void strbuf_ltrim(struct strbuf *sb) sb->buf[sb->len] = '\0'; } -void strbuf_tolower(struct strbuf *sb) -{ - int i; - for (i = 0; i < sb->len; i++) - sb->buf[i] = tolower(sb->buf[i]); -} - struct strbuf **strbuf_split(const struct strbuf *sb, int delim) { int alloc = 2, pos = 0; -- cgit v1.2.3