diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-12 06:16:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-12 10:06:09 +0100 |
commit | 229d8107470ded5e5e6c43cf5daeabf382cce9d1 (patch) | |
tree | ff864bf3dd161137bf8eb527d0b695af1500b978 /strbuf.c | |
parent | sha1_file.c: remove unused function (diff) | |
download | git-229d8107470ded5e5e6c43cf5daeabf382cce9d1.tar.xz git-229d8107470ded5e5e6c43cf5daeabf382cce9d1.zip |
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.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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; |