From b8af169bb5af76e8cbbfcd2bece17290d180815a Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 28 Apr 2005 06:56:31 -0700 Subject: [PATCH] [svn] Remove unreached (and useless) break statements. --- src/http.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/http.c b/src/http.c index d4236a51..cdd15a5b 100644 --- a/src/http.c +++ b/src/http.c @@ -2213,14 +2213,12 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file); locf = opt.output_document; } continue; - break; case HOSTERR: case CONIMPOSSIBLE: case PROXERR: case AUTHFAILED: case SSLINITFAILED: case CONTNOTSUPPORTED: /* Fatal errors just return from the function. */ free_hstat (&hstat); xfree_null (dummy); return err; - break; case FWRITEERR: case FOPENERR: /* Another fatal error. */ logputs (LOG_VERBOSE, "\n"); @@ -2229,7 +2227,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file); free_hstat (&hstat); xfree_null (dummy); return err; - break; case CONSSLERR: /* Another fatal error. */ logputs (LOG_VERBOSE, "\n"); @@ -2237,7 +2234,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file); free_hstat (&hstat); xfree_null (dummy); return err; - break; case NEWLOCATION: /* Return the new location to the caller. */ if (!hstat.newloc) @@ -2252,7 +2248,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file); free_hstat (&hstat); xfree_null (dummy); return NEWLOCATION; - break; case RETRUNNEEDED: /* The file was already fully retrieved. */ free_hstat (&hstat); @@ -2500,7 +2495,6 @@ The sizes do not match (local %s) -- retrieving.\n"), } } /* not reached */ - break; } while (!opt.ntry || (count < opt.ntry)); return TRYLIMEXC;