From e3fb2ec5dfac3bcad7e8aeb36597fffce6ea7443 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 26 Feb 2005 19:00:59 -0800 Subject: [PATCH] [svn] Remove duplicate initialization. --- src/host.c | 2 +- src/progress.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2