From: hniksic Date: Sun, 27 Feb 2005 03:00:59 +0000 (-0800) Subject: [svn] Remove duplicate initialization. X-Git-Tag: v1.13~1270 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=e3fb2ec5dfac3bcad7e8aeb36597fffce6ea7443 [svn] Remove duplicate initialization. --- diff --git a/src/host.c b/src/host.c index 1a070b28..9d83e038 100644 --- a/src/host.c +++ b/src/host.c @@ -518,7 +518,7 @@ cache_remove (const char *host) struct address_list * lookup_host (const char *host, int flags) { - struct address_list *al = NULL; + struct address_list *al; int silent = flags & LH_SILENT; int use_cache; diff --git a/src/progress.c b/src/progress.c index 937856cd..3da69852 100644 --- a/src/progress.c +++ b/src/progress.c @@ -96,7 +96,7 @@ static int current_impl_locked; int valid_progress_implementation_p (const char *name) { - int i = 0; + int i; struct progress_implementation *pi = implementations; char *colon = strchr (name, ':'); int namelen = colon ? colon - name : strlen (name);