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:
parent
c2c41a6b14
commit
b8af169bb5
@ -2213,14 +2213,12 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file);
|
|||||||
locf = opt.output_document;
|
locf = opt.output_document;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
break;
|
|
||||||
case HOSTERR: case CONIMPOSSIBLE: case PROXERR: case AUTHFAILED:
|
case HOSTERR: case CONIMPOSSIBLE: case PROXERR: case AUTHFAILED:
|
||||||
case SSLINITFAILED: case CONTNOTSUPPORTED:
|
case SSLINITFAILED: case CONTNOTSUPPORTED:
|
||||||
/* Fatal errors just return from the function. */
|
/* Fatal errors just return from the function. */
|
||||||
free_hstat (&hstat);
|
free_hstat (&hstat);
|
||||||
xfree_null (dummy);
|
xfree_null (dummy);
|
||||||
return err;
|
return err;
|
||||||
break;
|
|
||||||
case FWRITEERR: case FOPENERR:
|
case FWRITEERR: case FOPENERR:
|
||||||
/* Another fatal error. */
|
/* Another fatal error. */
|
||||||
logputs (LOG_VERBOSE, "\n");
|
logputs (LOG_VERBOSE, "\n");
|
||||||
@ -2229,7 +2227,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file);
|
|||||||
free_hstat (&hstat);
|
free_hstat (&hstat);
|
||||||
xfree_null (dummy);
|
xfree_null (dummy);
|
||||||
return err;
|
return err;
|
||||||
break;
|
|
||||||
case CONSSLERR:
|
case CONSSLERR:
|
||||||
/* Another fatal error. */
|
/* Another fatal error. */
|
||||||
logputs (LOG_VERBOSE, "\n");
|
logputs (LOG_VERBOSE, "\n");
|
||||||
@ -2237,7 +2234,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file);
|
|||||||
free_hstat (&hstat);
|
free_hstat (&hstat);
|
||||||
xfree_null (dummy);
|
xfree_null (dummy);
|
||||||
return err;
|
return err;
|
||||||
break;
|
|
||||||
case NEWLOCATION:
|
case NEWLOCATION:
|
||||||
/* Return the new location to the caller. */
|
/* Return the new location to the caller. */
|
||||||
if (!hstat.newloc)
|
if (!hstat.newloc)
|
||||||
@ -2252,7 +2248,6 @@ File `%s' already there, will not retrieve.\n"), *hstat.local_file);
|
|||||||
free_hstat (&hstat);
|
free_hstat (&hstat);
|
||||||
xfree_null (dummy);
|
xfree_null (dummy);
|
||||||
return NEWLOCATION;
|
return NEWLOCATION;
|
||||||
break;
|
|
||||||
case RETRUNNEEDED:
|
case RETRUNNEEDED:
|
||||||
/* The file was already fully retrieved. */
|
/* The file was already fully retrieved. */
|
||||||
free_hstat (&hstat);
|
free_hstat (&hstat);
|
||||||
@ -2500,7 +2495,6 @@ The sizes do not match (local %s) -- retrieving.\n"),
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* not reached */
|
/* not reached */
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
while (!opt.ntry || (count < opt.ntry));
|
while (!opt.ntry || (count < opt.ntry));
|
||||||
return TRYLIMEXC;
|
return TRYLIMEXC;
|
||||||
|
Loading…
Reference in New Issue
Block a user