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)