From 6f944ab1962b007f5b16c869b7005a978be532ed Mon Sep 17 00:00:00 2001 From: nulltoken Date: Thu, 7 Jun 2012 13:36:28 +0200 Subject: [PATCH] Fix compilation warning --- src/netops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/netops.c b/src/netops.c index b12750bee..e6f3e5627 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;