From: Giuseppe Scrivano Date: Thu, 23 Feb 2012 10:11:49 +0000 (+0100) Subject: gnutls: Remove two unused variables. X-Git-Tag: v1.14~59 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=611a219fb0d606b00d9af335efbd3cee173fc51b gnutls: Remove two unused variables. --- diff --git a/src/ChangeLog b/src/ChangeLog index ffd6ccc9..9364d54d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-02-23 Giuseppe Scrivano + + * gnutls.c (wgnutls_read): Remove unused variables `timer' and `flags'. + 2012-02-17 Steven Schubiger * warc.c: Add license header. diff --git a/src/gnutls.c b/src/gnutls.c index e4b0fc2e..2a1d22b9 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -217,11 +217,7 @@ wgnutls_read_timeout (int fd, char *buf, int bufsize, void *arg, double timeout) static int wgnutls_read (int fd, char *buf, int bufsize, void *arg) { -#ifdef F_GETFL - int flags = 0; -#endif int ret = 0; - struct ptimer *timer; struct wgnutls_transport_context *ctx = arg; if (ctx->peeklen)