Commit 8bfbe6988fe749a4970613db371a214f18fc5c9b

Carlos Martín Nieto 2014-12-03T21:54:44

Merge pull request #2742 from stewid/add_missing_else_directive Add missing else directive

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/global.c b/src/global.c
index 006202a..067872d 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