http: drop http_error function
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index 64068a2fc7248d377401d31e5d8aa1ecd82fcbd9..58c063c91b15d5c20e0233c57fb2fa7377163379 100644 (file)
--- a/http.c
+++ b/http.c
@@ -941,11 +941,6 @@ static int http_get_file(const char *url, const char *filename, int options)
        return ret;
 }
 
-void http_error(const char *url)
-{
-       error("unable to access '%s': %s", url, curl_errorstr);
-}
-
 int http_fetch_ref(const char *base, struct ref *ref)
 {
        char *url;