From 1ad6ab1fe07729da9a228f5c3f655f1724440ccc Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 1 May 2011 10:55:36 +0200 Subject: xfer: remove unused variable --- src/plugins/xfer/xfer-network.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c index 3753c53fc..88443f76c 100644 --- a/src/plugins/xfer/xfer-network.c +++ b/src/plugins/xfer/xfer-network.c @@ -92,7 +92,6 @@ xfer_network_child_read_cb (void *arg_xfer, int fd) struct t_xfer *xfer; char bufpipe[1 + 1 + 32 + 1]; int num_read; - char *error; /* make C compiler happy */ (void) fd; @@ -102,7 +101,6 @@ xfer_network_child_read_cb (void *arg_xfer, int fd) num_read = read (xfer->child_read, bufpipe, sizeof (bufpipe)); if (num_read > 0) { - error = NULL; sscanf (bufpipe + 2, "%llu", &xfer->pos); xfer->last_activity = time (NULL); xfer_file_calculate_speed (xfer, 0); -- cgit v1.2.3