1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Remove unreached (and useless) break statements.

This commit is contained in:
hniksic 2005-04-28 06:56:31 -07:00
parent c2c41a6b14
commit b8af169bb5

View File

@ -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;