diff options
author | Stefan Widgren <stefan.widgren@gmail.com> | 2014-12-03 21:01:42 +0100 |
---|---|---|
committer | Stefan Widgren <stefan.widgren@gmail.com> | 2014-12-03 21:01:42 +0100 |
commit | 2d2cd625ea00c72e0498f1f899d31a0af6394f56 (patch) | |
tree | 8b10569866678e8f62cb78de3122f10698611b6d | |
parent | 169497d1e7c238d2925577d1af3dc03e9a507cd3 (diff) | |
download | libgit2-2d2cd625ea00c72e0498f1f899d31a0af6394f56.tar.gz |
Add missing else directive
Add missing else directive to fix compiler warning: control reaches
end of non-void function
-rw-r--r-- | src/global.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/global.c b/src/global.c index 006202a2c..067872d44 100644 --- a/src/global.c +++ b/src/global.c @@ -131,6 +131,7 @@ int git_openssl_set_locking(void) giterr_set(GITERR_THREAD, "libgit2 as not built with threads"); return -1; # endif +#else giterr_set(GITERR_SSL, "libgit2 was not built with OpenSSL support"); return -1; #endif |