1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix GCC warnings.

This commit is contained in:
Giuseppe Scrivano 2011-04-24 13:03:48 +02:00
parent df99868cb1
commit ee6021a3b0
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-04-24 Giuseppe Scrivano <gscrivano@gnu.org>
* html-url.c: Include "exists.h".
* gnutls.c (wgnutls_peek): Remove local variable `ret'.
2011-04-21 Daniel Manrique <roadmr@tomechangosubanana.com> (tiny change)
* main.c (main): Set exit status when invalid host name given in
command line.

View File

@ -174,7 +174,7 @@ wgnutls_poll (int fd, double timeout, int wait_for, void *arg)
static int
wgnutls_peek (int fd, char *buf, int bufsize, void *arg)
{
int ret = 0, read = 0;
int read = 0;
struct wgnutls_transport_context *ctx = arg;
int offset = MIN (bufsize, ctx->peeklen);
if (bufsize > sizeof ctx->peekbuf)

View File

@ -36,6 +36,7 @@ as that of the covered work. */
#include <errno.h>
#include <assert.h>
#include "exits.h"
#include "html-parse.h"
#include "url.h"
#include "utils.h"