summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 21:16:26 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-12 01:06:09 -0800
commit229d8107470ded5e5e6c43cf5daeabf382cce9d1 (patch)
treeff864bf3dd161137bf8eb527d0b695af1500b978 /strbuf.c
parent356521ab22fb76e17aa8dc9993ff81fade49e11c (diff)
downloadgit-229d8107470ded5e5e6c43cf5daeabf382cce9d1.tar.gz
strbuf.c: remove unused function
strbuf_tolower() is not used anywhere. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c7
1 files changed, 0 insertions, 7 deletions
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;