mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Remove duplicate initialization.
This commit is contained in:
parent
00dc3157e5
commit
e3fb2ec5df
@ -518,7 +518,7 @@ cache_remove (const char *host)
|
|||||||
struct address_list *
|
struct address_list *
|
||||||
lookup_host (const char *host, int flags)
|
lookup_host (const char *host, int flags)
|
||||||
{
|
{
|
||||||
struct address_list *al = NULL;
|
struct address_list *al;
|
||||||
int silent = flags & LH_SILENT;
|
int silent = flags & LH_SILENT;
|
||||||
int use_cache;
|
int use_cache;
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ static int current_impl_locked;
|
|||||||
int
|
int
|
||||||
valid_progress_implementation_p (const char *name)
|
valid_progress_implementation_p (const char *name)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i;
|
||||||
struct progress_implementation *pi = implementations;
|
struct progress_implementation *pi = implementations;
|
||||||
char *colon = strchr (name, ':');
|
char *colon = strchr (name, ':');
|
||||||
int namelen = colon ? colon - name : strlen (name);
|
int namelen = colon ? colon - name : strlen (name);
|
||||||
|
Loading…
Reference in New Issue
Block a user