Commit 6f944ab1962b007f5b16c869b7005a978be532ed

nulltoken 2012-06-07T13:36:28

Fix compilation warning

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/netops.c b/src/netops.c
index b12750b..e6f3e56 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -144,7 +144,9 @@ void gitno_consume_n(gitno_buffer *buf, size_t cons)
 
 int gitno_ssl_teardown(git_transport *t)
 {
-	int ret = ret;
+#ifdef GIT_SSL
+	int ret;
+#endif
 
 	if (!t->encrypt)
 		return 0;