diff --git a/transport-helper.c b/transport-helper.c
index 0c5b1bd994d79cd6441a5c956a2d851b6bea7d5f..660147f9e96be7b69379a9040c4220c141c7be4c 100644 (file)
--- a/transport-helper.c
+++ b/transport-helper.c
die_errno("Full write to remote helper failed");
}
-const char *remove_ext_force(const char *url)
+static const char *remove_ext_force(const char *url)
{
if (url) {
const char *colon = strchr(url, ':');
int mirror = flags & TRANSPORT_PUSH_MIRROR;
struct helper_data *data = transport->data;
struct strbuf buf = STRBUF_INIT;
- struct child_process *helper;
struct ref *ref;
- helper = get_helper(transport);
+ get_helper(transport);
if (!data->push)
return 1;