1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

gnutls: Remove two unused variables.

This commit is contained in:
Giuseppe Scrivano 2012-02-23 11:11:49 +01:00
parent c60530b369
commit 611a219fb0
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2012-02-23 Giuseppe Scrivano <giuseppe@southpole.se>
* gnutls.c (wgnutls_read): Remove unused variables `timer' and `flags'.
2012-02-17 Steven Schubiger <stsc@member.fsf.org> 2012-02-17 Steven Schubiger <stsc@member.fsf.org>
* warc.c: Add license header. * warc.c: Add license header.

View File

@ -217,11 +217,7 @@ wgnutls_read_timeout (int fd, char *buf, int bufsize, void *arg, double timeout)
static int static int
wgnutls_read (int fd, char *buf, int bufsize, void *arg) wgnutls_read (int fd, char *buf, int bufsize, void *arg)
{ {
#ifdef F_GETFL
int flags = 0;
#endif
int ret = 0; int ret = 0;
struct ptimer *timer;
struct wgnutls_transport_context *ctx = arg; struct wgnutls_transport_context *ctx = arg;
if (ctx->peeklen) if (ctx->peeklen)