]> sjero.net Git - wget/commitdiff
[svn] Remove duplicate initialization.
authorhniksic <devnull@localhost>
Sun, 27 Feb 2005 03:00:59 +0000 (19:00 -0800)
committerhniksic <devnull@localhost>
Sun, 27 Feb 2005 03:00:59 +0000 (19:00 -0800)
src/host.c
src/progress.c

index 1a070b283ff94fb3d266f79822cbc77570c64c58..9d83e038119c9c4f946d51fec0f4e8a2b7b7178d 100644 (file)
@@ -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;
 
index 937856cd5e738857b4fbe48759caa01b1004f598..3da69852d3267ab2895a4d2ae3f4b9d27920ee19 100644 (file)
@@ -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);