http: remove unused function hex()
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Nov 15, 2011 at 22:29 UTC
620771c83ec67c7f066d366acbc2efdfa75e7d14
1 file changed
-8
http.c
-8
@@ -747,14 +747,6 @@ static inline int needs_quote(int ch)
747
return 1;
748
}
749
750
-static inline int hex(int v)
751
-{
752
- if (v < 10)
753
- return '0' + v;
754
- else
755
- return 'A' + v - 10;
756
-}
757
-
750
static char *quote_ref_url(const char *base, const char *ref)
751
{
752
struct strbuf buf = STRBUF_INIT;