From 620771c83ec67c7f066d366acbc2efdfa75e7d14 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Tue, 15 Nov 2011 22:29:36 +0530 Subject: [PATCH] http: remove unused function hex() Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- http.c | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.30.2