mirror of
https://github.com/git/git.git
synced 2025-03-23 01:16:36 +00:00
http: remove unused function hex()
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
bc1bbe0c19
commit
620771c83e
8
http.c
8
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user