Commit 2d2cd625 by Stefan Widgren

Add missing else directive

Add missing else directive to fix compiler warning: control reaches
end of non-void function
parent 169497d1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment