Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2011-11-15 20:59:36 +0400
committerJunio C Hamano <gitster@pobox.com>2011-11-16 04:08:48 +0400
commit620771c83ec67c7f066d366acbc2efdfa75e7d14 (patch)
treec97df08f9d6fc5adbe7569a223eaa1fe01d4e73c /http.c
parentbc1bbe0c19a6ff39522b4fa3259f34150e308e1f (diff)
http: remove unused function hex()
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.c')
-rw-r--r--http.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/http.c b/http.c
index 008ad72ae5..e6c75976e8 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;