diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-06-07 13:36:28 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-06-07 13:36:28 +0200 |
| commit | 6f944ab1962b007f5b16c869b7005a978be532ed (patch) | |
| tree | 387ba83b3be2fec61181b65e77e1c32da4267ea9 /src/netops.c | |
| parent | 66798ad0d8e30821c0ac26a6c602e2e2cf0b2fff (diff) | |
| download | libgit2-6f944ab1962b007f5b16c869b7005a978be532ed.tar.gz | |
Fix compilation warning
Diffstat (limited to 'src/netops.c')
| -rw-r--r-- | src/netops.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
