mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 00:30:16 +00:00
Silence unused warnings when not using OpenSSL
This commit is contained in:
parent
6946a3be95
commit
70b852cee2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user