diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-19 00:45:43 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-04-23 17:39:51 +0200 |
| commit | 70b852cee2c9e87588d65581e13c9e65b255cecf (patch) | |
| tree | 51f0e76c7fff339711b5e013067842adc0a592d7 /src/openssl_stream.c | |
| parent | 6946a3be953446b2838857de5e9c2002843499b3 (diff) | |
| download | libgit2-70b852cee2c9e87588d65581e13c9e65b255cecf.tar.gz | |
Silence unused warnings when not using OpenSSL
Diffstat (limited to 'src/openssl_stream.c')
| -rw-r--r-- | src/openssl_stream.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c index 9ddf6e4be..8d79a9d84 100644 --- a/src/openssl_stream.c +++ b/src/openssl_stream.c @@ -374,6 +374,10 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port) int git_openssl_stream_new(git_stream **out, const char *host, const char *port) { + GIT_UNUSED(out); + GIT_UNUSED(host); + GIT_UNUSED(port); + giterr_set(GITERR_SSL, "openssl is not supported in this version"); return -1; } |
