mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 00:30:22 +08:00
gnutls: Remove two unused variables.
This commit is contained in:
parent
c60530b369
commit
611a219fb0
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user