Skip to content

Commit 620771c

Browse files
artagnongitster
authored andcommitted
http: remove unused function hex()
Signed-off-by: Ramkumar Ramachandra <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bc1bbe0 commit 620771c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

http.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -747,14 +747,6 @@ static inline int needs_quote(int ch)
747747
return 1;
748748
}
749749

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-
758750
static char *quote_ref_url(const char *base, const char *ref)
759751
{
760752
struct strbuf buf = STRBUF_INIT;

0 commit comments

Comments
 (0)