]> sjero.net Git - wget/commitdiff
gnutls: Remove two unused variables.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 23 Feb 2012 10:11:49 +0000 (11:11 +0100)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 23 Feb 2012 10:11:49 +0000 (11:11 +0100)
src/ChangeLog
src/gnutls.c

index ffd6ccc977565c39eac9f7ca946673176714db5a..9364d54d0a531386868e3eac8612a1df79957706 100644 (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>
 
        * warc.c: Add license header.
index e4b0fc2ea026bf731486169009f1ed38d883e790..2a1d22b9ed3ad91a942d5a0261a961e776b6371d 100644 (file)
@@ -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)