From 1a9fe7b590091591686c46ddde4646be7178f76f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 24 May 2013 14:16:13 +0200 Subject: [PATCH] core: fix compilation error when gnutls is not found --- src/core/wee-network.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/wee-network.c b/src/core/wee-network.c index b6583bfbc..a15eea8b2 100644 --- a/src/core/wee-network.c +++ b/src/core/wee-network.c @@ -1534,14 +1534,13 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd) void network_connect_with_fork (struct t_hook *hook_connect) { - int child_pipe[2]; + int child_pipe[2], rc; #ifdef HOOK_CONNECT_MAX_SOCKETS int i; #else int child_socket[2]; #endif #ifdef HAVE_GNUTLS - int rc; const char *pos_error; #endif pid_t pid;