From: Ramkumar Ramachandra Date: Tue, 15 Nov 2011 16:59:36 +0000 (+0530) Subject: http: remove unused function hex() X-Git-Tag: v1.7.8-rc4~9^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=620771c83ec67c7f066d366acbc2efdfa75e7d14;p=git.git http: remove unused function hex() Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- diff --git a/http.c b/http.c index 008ad72ae..e6c75976e 100644 --- a/http.c +++ b/http.c @@ -747,14 +747,6 @@ static inline int needs_quote(int ch) return 1; } -static inline int hex(int v) -{ - if (v < 10) - return '0' + v; - else - return 'A' + v - 10; -} - static char *quote_ref_url(const char *base, const char *ref) { struct strbuf buf = STRBUF_INIT;