diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-07 15:10:13 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-07 15:10:13 +0200 |
| commit | fdb82dcd58a704940b829e8f7efa8c6844629b8b (patch) | |
| tree | 65441b6172c778ac9cd9f82b11da268ddd5dfb95 /src/transports | |
| parent | 3c4442a2aa24da0f250bc1f6c4b72c1e1f4fd7ed (diff) | |
| parent | 9f3c18e2ac082454c955761f10f4a0d06390c27f (diff) | |
| download | libgit2-fdb82dcd58a704940b829e8f7efa8c6844629b8b.tar.gz | |
Merge pull request #3175 from git-up/build_warnings
Fixed build warnings on Xcode 6.1
Diffstat (limited to 'src/transports')
| -rw-r--r-- | src/transports/cred.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transports/cred.c b/src/transports/cred.c index 006cd2c52..044b2a262 100644 --- a/src/transports/cred.c +++ b/src/transports/cred.c @@ -209,6 +209,12 @@ int git_cred_ssh_key_memory_new( passphrase, GIT_CREDTYPE_SSH_MEMORY); #else + GIT_UNUSED(cred); + GIT_UNUSED(username); + GIT_UNUSED(publickey); + GIT_UNUSED(privatekey); + GIT_UNUSED(passphrase); + giterr_set(GITERR_INVALID, "This version of libgit2 was not built with ssh memory credentials."); return -1; |
