diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-01 10:55:36 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-01 10:55:36 +0200 |
commit | 1ad6ab1fe07729da9a228f5c3f655f1724440ccc (patch) | |
tree | 3b689d4a730bd0b68e27207126e3f0406467bd1f /src/plugins | |
parent | c92c04e298dee31513788a2fc7b62457f391dd28 (diff) | |
download | weechat-1ad6ab1fe07729da9a228f5c3f655f1724440ccc.zip |
xfer: remove unused variable
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/xfer/xfer-network.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |