Skip to content

Commit

Permalink
http: remove unused function hex()
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramkumar Ramachandra authored and Junio C Hamano committed Nov 16, 2011
1 parent bc1bbe0 commit 620771c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 620771c

Please sign in to comment.