Fix compilation warning
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;