From 611a219fb0d606b00d9af335efbd3cee173fc51b Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 23 Feb 2012 11:11:49 +0100 Subject: [PATCH] gnutls: Remove two unused variables. --- src/ChangeLog | 4 ++++ src/gnutls.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.2