Impossible to reach sections removed

With a bit of gcov analysis, and logical thinking, it was obvious
that section that got to be removed cannot be reach.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-01-22 21:54:38 +01:00
parent 9169422e9b
commit f32e023ecf

View file

@ -97,8 +97,6 @@ int main(int argc, char **argv)
break; break;
switch (c) { switch (c) {
case 0:
break;
case 'c': case 'c':
/* config file */ /* config file */
strncpy(config.dhcpdconf_file, optarg, strncpy(config.dhcpdconf_file, optarg,
@ -182,10 +180,6 @@ int main(int argc, char **argv)
case 'c': case 'c':
output_analysis = output_csv; output_analysis = output_csv;
break; break;
case 's':
/* output_analysis = output_snmp; */
output_analysis = output_txt;
break;
default: default:
errx(EXIT_FAILURE, "main: unknown ouput format `%c'", errx(EXIT_FAILURE, "main: unknown ouput format `%c'",
config.output_format[0]); config.output_format[0]);