diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-22 15:34:37 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-26 20:48:01 +0200 |
commit | ce90a407c7b873780456b182d82d3ba26adbd182 (patch) | |
tree | 7e8c360910ee2c48e660f09fbaba33272cd9541f /src/transport.c | |
parent | 4e913309b92138cdc6ff31fbce4e8afa2ab5458e (diff) | |
download | libgit2-ce90a407c7b873780456b182d82d3ba26adbd182.tar.gz |
Remove the repo param from git_transport_new
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/transport.c')
-rw-r--r-- | src/transport.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/transport.c b/src/transport.c index 59aecb4cf..d71560bb3 100644 --- a/src/transport.c +++ b/src/transport.c @@ -49,7 +49,7 @@ int git_transport_dummy(git_transport **GIT_UNUSED(transport)) return git__throw(GIT_ENOTIMPLEMENTED, "This protocol isn't implemented. Sorry"); } -int git_transport_new(git_transport **out, git_repository *repo, const char *url) +int git_transport_new(git_transport **out, const char *url) { git_transport_cb fn; git_transport *transport; @@ -65,8 +65,6 @@ int git_transport_new(git_transport **out, git_repository *repo, const char *url if (transport->url == NULL) return GIT_ENOMEM; - transport->repo = repo; - *out = transport; return GIT_SUCCESS; |