From e63f1de1e3edef0e23fc7911014ea4f5f2d84b5b Mon Sep 17 00:00:00 2001 From: Damien Stuart Date: Wed, 7 Jul 2010 17:36:20 +0000 Subject: [PATCH] Removed unreferenced variables. git-svn-id: file:///home/mbr/svn/fwknop/trunk@242 510a4753-2344-4c79-9c09-4d669213fbeb --- client/config_init.c | 1 - client/spa_comm.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/config_init.c b/client/config_init.c index e6068bbe..5c438aac 100644 --- a/client/config_init.c +++ b/client/config_init.c @@ -121,7 +121,6 @@ static int create_fwknoprc(char *rcfile) { FILE *rc; - int res; fprintf(stderr, "Creating initial rc file: %s.\n", rcfile); diff --git a/client/spa_comm.c b/client/spa_comm.c index 52f30e05..f9abb109 100644 --- a/client/spa_comm.c +++ b/client/spa_comm.c @@ -377,7 +377,7 @@ send_spa_packet_http(char *spa_data, int sd_len, fko_cli_options_t *options) { char http_buf[HTTP_MAX_REQUEST_LEN], *spa_data_copy = NULL; char *ndx = options->http_proxy; - int i, j, proxy_port; + int i, proxy_port; spa_data_copy = malloc(sd_len+1); if (spa_data_copy == NULL)