mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-30 20:39:14 +00:00
Add missing else directive
Add missing else directive to fix compiler warning: control reaches end of non-void function
This commit is contained in:
parent
169497d1e7
commit
2d2cd625ea
@ -131,6 +131,7 @@ int git_openssl_set_locking(void)
|
|||||||
giterr_set(GITERR_THREAD, "libgit2 as not built with threads");
|
giterr_set(GITERR_THREAD, "libgit2 as not built with threads");
|
||||||
return -1;
|
return -1;
|
||||||
# endif
|
# endif
|
||||||
|
#else
|
||||||
giterr_set(GITERR_SSL, "libgit2 was not built with OpenSSL support");
|
giterr_set(GITERR_SSL, "libgit2 was not built with OpenSSL support");
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user